2021-12-02 11:53:48 +01:00
|
|
|
{% import "macros.html" as macros %}
|
2021-12-02 10:44:45 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2021-12-14 20:36:55 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2021-12-02 10:48:08 +01:00
|
|
|
<title>{% block title %}{{ config.title }}{% endblock %}</title>
|
2021-12-14 21:03:30 +01:00
|
|
|
<link rel="alternate" type="application/atom+xml" title="Atom" href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">
|
2021-12-03 21:55:43 +01:00
|
|
|
<link rel="stylesheet" href="/style.css">
|
2021-12-02 10:44:45 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-12-02 10:48:08 +01:00
|
|
|
<header>
|
2021-12-14 20:36:55 +01:00
|
|
|
<div class="wrap">
|
|
|
|
<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
|
|
|
|
<nav>
|
2021-12-15 15:58:33 +01:00
|
|
|
{% if config.extra.repository_url %}
|
|
|
|
<a href="{{ config.extra.repository_url }}">Source</a>,
|
|
|
|
{% endif %}
|
2021-12-14 21:03:30 +01:00
|
|
|
<a href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
|
2021-12-14 20:36:55 +01:00
|
|
|
</nav>
|
|
|
|
</div>
|
2021-12-02 10:48:08 +01:00
|
|
|
</header>
|
2021-12-14 20:36:55 +01:00
|
|
|
<div class="wrap grid">
|
|
|
|
<aside>
|
2022-06-06 23:19:09 +02:00
|
|
|
<span class="title">Navigation</span>
|
|
|
|
<ul class="nav">
|
2021-12-14 20:36:55 +01:00
|
|
|
{% for item in config.extra.nav %}
|
2022-06-06 23:19:09 +02:00
|
|
|
<li
|
|
|
|
{% if item.mobile_only %}
|
|
|
|
class="mobile-only"
|
|
|
|
{% endif %}
|
|
|
|
><a href="{{ get_url(path=item.path, trailing_slash=true) }}">{{ item.title }}</a></li>
|
2021-12-14 20:36:55 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
<span class="title">Categories</span>
|
|
|
|
{{ macros::list_taxonomy(kind="categories") }}
|
|
|
|
</aside>
|
|
|
|
<main>
|
|
|
|
{% block content %}
|
|
|
|
{{ macros::list_posts(section="posts", count=config.extra.latest_posts_count) }}
|
2021-12-30 11:03:24 +01:00
|
|
|
<a href="{{ get_url(path="/posts/") }}">All Posts »</a>
|
2021-12-14 20:36:55 +01:00
|
|
|
{% endblock %}
|
|
|
|
</main>
|
|
|
|
</div>
|
2021-12-04 22:05:33 +01:00
|
|
|
{% block script %}{% endblock %}
|
2021-12-02 10:44:45 +01:00
|
|
|
</body>
|
|
|
|
</html>
|