40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{ title }}</title>
|
|
<link rel="stylesheet" href="{{ config.blogurl }}style/style.css">
|
|
<link rel="alternate" type="application/rss+xml" title="{{ config.blogtitle }} Feed" href="{{ config.blogurl }}feed.rss" />
|
|
{{ add_style }}
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<a href="{{config.blogurl}}"><h1>{{ config.blogtitle }}</h1></a>
|
|
<h2>{{ config.blogdescription }}</h2>
|
|
|
|
<p>
|
|
<a href="{{ config.blogurl }}">index</a>
|
|
{% for page in pages %}
|
|
<a href="{{page.link}}">{{page.title}}</a>
|
|
{% endfor %}
|
|
</p>
|
|
</div>
|
|
|
|
<div id="post">
|
|
<h1>{{ config.blogtitle }}</h1>
|
|
<ul>
|
|
{% for post in posts %}
|
|
<li>
|
|
{{ post.date }}:
|
|
{% for tag in post.tags %}
|
|
<a class="post-category" style="background: #{{ tag.colour }};"
|
|
href="tags/{{ tag.name }}.html">{{ tag.name }}</a>
|
|
{% endfor %}
|
|
<a href="{{ post.outfile }}">{{ post.title }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|