29 lines
698 B
HTML
29 lines
698 B
HTML
{% import "macros.html" as macros %}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>{% block title %}{{ config.title }}{% endblock %}</title>
|
|
<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>
|
|
<span class="title">Categories</span>
|
|
{{ macros::list_taxonomy(kind="categories") }}
|
|
</aside>
|
|
<main>
|
|
{% block content %}
|
|
{{ macros::posts_latest(section="posts", count=config.extra.latest_posts_count) }}
|
|
{% endblock %}
|
|
</main>
|
|
</body>
|
|
</html>
|