updated default theme

This commit is contained in:
Bastian Venthur
2023-06-16 09:45:05 +02:00
parent 6708c6c80a
commit 7e22f00ac5
3 changed files with 18 additions and 15 deletions

View File

@@ -23,9 +23,9 @@
<h2>{{ site.description }}</h2> <h2>{{ site.description }}</h2>
<ul> <ul>
<li><h2><a href="/">Blog</a></h2></li> <li><h2><a href="/">Blog</a></h2></li>
<li><h2><a href="/archive.html">Archive</a></h2></li>
<li><h2><a href="/tags/">Tags</a></h2></li> <li><h2><a href="/tags/">Tags</a></h2></li>
<li><h2><a href="/about.html">About Me</a></h2></li> <li><h2><a href="/about.html">About Me</a></h2></li>
<li><h2><a href="/atom.xml">Feed</a></h2></li>
</ul> </ul>
</nav> </nav>
</header> </header>
@@ -38,10 +38,11 @@
<footer> <footer>
<p>This website was built with <a href="https://github.com/venthur/blag">blag</a>. <p>This website was built with <a href="https://github.com/venthur/blag">blag</a>.
<br> <br>
Subscribe to the <a href="/atom.xml">atom feed</a>.
<br>
Contact me via Contact me via
<a rel="me" href="TODO">[TODO] Mastodon</a>, <a rel="me" href="https://mastodon.social/[FIXME]">[FIXME] Mastodon</a> or
<a href="TODO">[TODO] Twitter</a> or <a href="https://github.com/[FIXME]">[FIXME] Github</a>.
<a href="TODO">[TODO] Github</a>.
</p> </p>
</footer> </footer>
</body> </body>

View File

@@ -3,18 +3,20 @@
{% block title %}{{ site.title }}{% endblock %} {% block title %}{{ site.title }}{% endblock %}
{% block content %} {% block content %}
{% for entry in archive[:10] %}
{% if entry.title %} {% for entry in archive[:15] %}
<h1><a href="{{entry.dst}}">{{entry.title}}</a></h1>
<article>
<header>
<time datetime="{{ entry.date }}">{{ entry.date.date() }}</time>
<div>
<h2><a href="{{ entry.dst }}">{{ entry.title }}</a></h2>
{% if entry.description %} {% if entry.description %}
<p>— {{ entry.description }}</p> <p>— {{ entry.description }}</p>
{% endif %} {% endif %}
</div>
{% endif %} </header>
</article>
<p>Written on {{ entry.date.date() }}.</p>
{% endfor %} {% endfor %}

View File

@@ -1,6 +1,6 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}Tag: {{ tag }}{% endblock %} {% block title %}#{{ tag }}{% endblock %}
{% block content %} {% block content %}