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

39 lines
963 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-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-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>,
<a href="">RSS</a>
</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>