36 lines
1.7 KiB
Twig
36 lines
1.7 KiB
Twig
<!DOCTYPE html>
|
|
<html lang="en-GB" class="no-js">
|
|
<head>
|
|
<title>{% if page.title is defined and page.url != '//' %}{{ page.title }} | {% endif %}{{ site.title }} - {{ site.subtitle }}</title>
|
|
{% include 'meta' %}
|
|
{% block metas %}
|
|
<meta name="twitter:site" content="@{{ site.twitter.user }}">
|
|
<meta name="twitter:title" content="{{ page.title }}">
|
|
<meta name="twitter:creator" content="@{{ site.twitter.user }}">
|
|
{% endblock %}
|
|
|
|
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
|
|
{% block stylesheets %}{% endblock %}
|
|
|
|
{% for size in site.apple_touch_icon_sizes %}
|
|
<link rel="apple-touch-icon" href="{{ site.favicon.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
|
|
{% endfor %}
|
|
|
|
{% for size in site.favicon_sizes %}
|
|
<link rel="icon" href="{{ site.favicon.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
|
|
{% endfor %}
|
|
</head>
|
|
<body class="antialiased font-sans text-gray-800 leading-relaxed">
|
|
<div class="min-h-screen flex flex-col">
|
|
{% block body %}{% endblock %}
|
|
</div>
|
|
|
|
{% if site.google_analytics.id %}
|
|
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '{{ site.google_analytics.id }}', 'auto'); ga('send', 'pageview');</script>
|
|
{% endif %}
|
|
|
|
<script src="{{ asset('build/app.js') }}"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|