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>
|
|
|
|
<a href="">Source</a>,
|
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>
|
|
|
|
<ul>
|
|
|
|
{% for item in config.extra.nav %}
|
|
|
|
<li><a href="{{ item.path }}">{{ item.title }}</a></li>
|
|
|
|
{% 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) }}
|
|
|
|
{% endblock %}
|
|
|
|
</main>
|
|
|
|
</div>
|
2021-12-04 22:05:33 +01:00
|
|
|
{% block script %}{% endblock %}
|
2021-12-02 10:44:45 +01:00
|
|
|
</body>
|
|
|
|
</html>
|