You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
947 B
HTML

{% import "macros.html" as macros %}
<!DOCTYPE html>
<html lang="{{ config.default_language }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
<meta name="description" content="{{ config.description }}">
<link rel="stylesheet" href="/style.css">
</head>
<body>
<header>
<a href="{{ config.base_url }}">{{ config.title }}</a>
</header>
<aside>
<ul>
{% for item in config.extra.nav %}
<li><a href="{{ item.path }}">{{ item.title }}</a></li>
{% endfor %}
</ul>
{{ macros::list_taxonomy(title=config.extra.categories_title, kind="categories") }}
{{ macros::list_taxonomy(title=config.extra.tags_title, kind="tags") }}
</aside>
<main>
{% block content %}
{{ macros::posts_latest(section="posts", count=config.extra.latest_posts_count) }}
{% endblock content %}
</main>
</body>
</html>