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 -%}
|
2020-09-13 17:05:05 +00:00
|
|
|
{%- if config.extra.seo or config.extra.seo is undefined -%}
|
2020-09-13 13:08:54 +00:00
|
|
|
|
|
|
|
<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 %}
|
2020-09-13 13:55:17 +00:00
|
|
|
<ul class="homepage-list">
|
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-09-13 17:05:05 +00:00
|
|
|
{%- if config.extra.zola or config.extra.zola is undefined -%}Built with <a href="https://www.getzola.org/">Zola</a>{%- endif -%}
|
2020-09-13 13:47:11 +00:00
|
|
|
{%- if config.extra.netlify %} & hosted on <a href="https://netlify.com">Netlify</a>{%- endif -%}
|
2020-09-13 17:05:05 +00:00
|
|
|
{%- if config.extra.zola or config.extra.zola is undefined -%}.<br />{%- endif %}
|
|
|
|
{% if config.extra.maintained_with_love or config.extra.maintained_with_love is undefined%}Maintained with ♥ for the web.<br />{% endif %}
|
2020-09-13 13:47:11 +00:00
|
|
|
{% if config.extra.footer_tagline %}{{ config.extra.footer_tagline }}{% endif %}
|
2020-04-13 19:19:58 +00:00
|
|
|
</small>
|
|
|
|
</footer>
|
|
|
|
{% endblock footer %}
|
|
|
|
|
|
|
|
</main>
|
2020-09-13 13:47:11 +00:00
|
|
|
{% block after_main %}
|
|
|
|
{% endblock after_main %}
|
2020-04-13 19:19:58 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|