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

33 lines
760 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-02 11:09: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-02 11:09:43 +01:00
<span class="title">Title</span>
<ul>
<li><a href="">anchor</a></li>
<li><a href="">anchor</a></li>
<li><a href="">anchor</a></li>
</ul>
2021-12-02 10:48:08 +01:00
</aside>
<main>
{% block content %}
2021-12-02 11:53:48 +01:00
{{ macros::posts_latest(section="posts", count=config.extra.latest_posts_count) }}
2021-12-02 10:48:08 +01:00
{% endblock %}
</main>
2021-12-02 10:44:45 +01:00
</body>
</html>