This repository has been archived on 2023-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
undefined-pelican-theme/templates/index.html
2022-08-28 19:00:18 +02:00

70 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block head_title %}
{{ SITENAME }} :: All Posts
{% endblock head_title %}
{% block title %}
All Posts
{% endblock title %}
{% block author %}
Error <br />
April 2022
{% endblock author %}
{% block abstract %}
{{ ABSTRACT }}
{% endblock abstract %}
{% block content %}
<nav class="toc">
<h2 id="contents">
Contents
</h2>
<ol>
{% for article in articles %}
{% if loop.first %}
<li>
<a href="{{ SITEURL }}/">
All Posts
</a>
</li>
<ol>
{% endif %}
<li>
<a href="{{ SITEURL }}/{{ article.url }}">
{{ article.title }}
</a>
</li>
{% if loop.last %}
</ol>
{% endif %}
{% endfor %}
{% for page in pages %}
<li>
<a href="{{ SITEURL }}/{{ page.url }}">
{{ page.title }}
</a>
</li>
{% endfor %}
{% for name, link in LINKS %}
{% if loop.first %}
<li>
Appendix
</li>
<ol>
{% endif %}
<li>
<a href="{{ link }}">
{{ name | title }}
</a>
</li>
{% if loop.last %}
</ol>
{% endif %}
{% endfor %}
</ol>
</nav>
{% endblock content %}