2020-04-13 19:19:58 +00:00
|
|
|
{% import "macros.html" as macros %}
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
{% block head %}
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
|
|
|
|
<title>{% block title %}{{ config.title }} · {{ config.description }}{% endblock title %}</title>
|
|
|
|
<meta name="description" content="{% block description %}{{ config.description }}{% endblock description %}" />
|
|
|
|
<link rel="shortcut icon" href="{{ get_url(path="favicon.ico") | safe }}" />
|
2020-08-29 16:22:52 +00:00
|
|
|
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml") | safe }}">
|
2020-04-13 19:19:58 +00:00
|
|
|
|
2020-04-18 14:49:03 +00:00
|
|
|
{% set data = load_data(path="public/style.css", format="plain") -%}
|
2020-04-13 19:19:58 +00:00
|
|
|
<style>{{ data | safe }}</style>
|
|
|
|
|
2020-09-13 13:08:54 +00:00
|
|
|
{% block seo -%}
|
|
|
|
{%- if config.extra.seo -%}
|
|
|
|
|
|
|
|
<meta property="og:site_name" content="{% block ogsitename %}{{config.title}}{% endblock ogsitename %}">
|
|
|
|
{% if config.extra.author -%}
|
|
|
|
<meta name="author" content="{{ config.extra.author }}" />
|
|
|
|
{%- endif %}
|
|
|
|
<meta property="og:title" content="{% block ogtitle %}{{config.title}}{% endblock ogtitle %}">
|
|
|
|
<meta property="og:description" content="{% block ogdesc %}{{config.description}}{% endblock ogdesc %}">
|
|
|
|
<meta property="og:url" content="{% block ogurl %}{{config.base_url | safe }}{% endblock ogurl %}">
|
|
|
|
<meta property="og:image" content="{% block ogimage %}{% if config.extra.ogimage %}{{ get_url(path=config.extra.ogimage) | safe }}{% endif %}{% endblock ogimage %}">
|
|
|
|
|
|
|
|
{% if page.date -%}
|
|
|
|
<meta property="og:type" content="article" />
|
|
|
|
<meta property="article:published_time" content="{{ page.date | date(format="%+") }}" />
|
|
|
|
{%- endif %}
|
|
|
|
|
|
|
|
{% if page.earlier -%}
|
|
|
|
<link rel="prev" href="{{ page.earlier.permalink | safe }}" />
|
|
|
|
{%- endif %}
|
|
|
|
{% if page.later -%}
|
|
|
|
<link rel="next" href="{{ page.later.permalink | safe }}" />
|
|
|
|
{%- endif %}
|
|
|
|
|
|
|
|
{%- endif -%}
|
|
|
|
{%- endblock seo -%}
|
|
|
|
|
2020-07-18 17:24:55 +00:00
|
|
|
{% block extra_head %}
|
|
|
|
{% endblock extra_head %}
|
|
|
|
|
2020-04-13 19:19:58 +00:00
|
|
|
</head>
|
|
|
|
{% endblock head %}
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<main id="main" role="main">
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
<header role="banner">
|
|
|
|
<h3 style="margin-top:0;">
|
|
|
|
<a href="{{ config.base_url | safe }}" title="Home">{{ config.title }}</a>
|
|
|
|
<br /><small>{{ config.description }}</small>
|
|
|
|
</h3>
|
|
|
|
</header>
|
|
|
|
<hr />
|
|
|
|
{% endblock header %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<ul class="homepage-list" style="list-style:none;padding:1rem 0;">
|
2020-04-14 18:42:35 +00:00
|
|
|
{% for post in section.pages %}
|
|
|
|
{{ macros::post_in_list(post=post) }}
|
2020-04-13 19:19:58 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endblock content %}
|
|
|
|
|
|
|
|
{% block footer %}
|
|
|
|
<footer role="contentinfo">
|
|
|
|
<hr />
|
2020-04-19 09:03:16 +00:00
|
|
|
{% if config.extra.footer_links %}
|
2020-04-13 19:19:58 +00:00
|
|
|
<nav style="margin-bottom:1rem;" role="navigation">
|
|
|
|
{% for item in config.extra.footer_links %}
|
2020-09-13 13:08:54 +00:00
|
|
|
<a href="{{ item.url | replace(from="$BASE_URL", to=config.base_url) | safe }}">{{ item.name }}</a>
|
2020-04-13 19:19:58 +00:00
|
|
|
{% if loop.last %}{% else %}
|
|
|
|
<span>·</span>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</nav>
|
2020-04-19 09:03:16 +00:00
|
|
|
{% endif %}
|
2020-04-13 19:19:58 +00:00
|
|
|
<small>
|
2020-04-14 18:42:35 +00:00
|
|
|
Built with <a href="https://www.getzola.org/">Zola</a>
|
2020-04-18 14:49:03 +00:00
|
|
|
{%- if config.extra.netlify %} & hosted on <a href="https://netlify.com">Netlify</a>{% endif -%}
|
2020-04-14 18:42:35 +00:00
|
|
|
.<br />
|
2020-04-13 19:19:58 +00:00
|
|
|
Maintained with ♥ for the web.
|
|
|
|
</small>
|
|
|
|
</footer>
|
|
|
|
{% endblock footer %}
|
|
|
|
|
|
|
|
</main>
|
2020-08-29 16:34:02 +00:00
|
|
|
{% block extra_scripts %}
|
|
|
|
{% endblock extra_scripts %}
|
2020-04-13 19:19:58 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|