1
0
em.0x45.cz/templates/index.html

30 lines
730 B
HTML
Raw Normal View History

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-02 10:48:08 +01:00
<title>{% block title %}{{ config.title }}{% endblock %}</title>
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>
<a href="{{ config.base_url }}">{{ config.title }}</a>
</header>
<aside>
<ul>
2021-12-02 11:13:36 +01:00
{% for item in config.extra.nav %}
<li><a href="{{ item.path }}">{{ item.title }}</a></li>
{% endfor %}
2021-12-02 10:48:08 +01:00
</ul>
2021-12-04 18:05:15 +01:00
<span class="title">Categories</span>
{{ macros::list_taxonomy(kind="categories") }}
2021-12-02 10:48:08 +01:00
</aside>
<main>
{% block content %}
2021-12-04 18:20:01 +01:00
{{ macros::list_posts(section="posts", count=config.extra.latest_posts_count) }}
2021-12-02 10:48:08 +01:00
{% endblock %}
</main>
2021-12-04 22:05:33 +01:00
{% block script %}{% endblock %}
2021-12-02 10:44:45 +01:00
</body>
</html>