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

72 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2022-08-28 14:58:11 +02:00
{% extends "base.html" %}
{% block head_title %}
{{ SITENAME }} :: All Posts
{% endblock head_title %}
{% block title %}
All Posts
{% endblock title %}
{% block author %}
Error <br />
2022-08-29 20:13:06 +02:00
{% if DATE %}
{{ DATE }}
{% endif %}
2022-08-28 14:58:11 +02:00
{% 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>
2022-08-28 19:00:18 +02:00
<a href="{{ SITEURL }}/">
2022-08-28 14:58:11 +02:00
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 %}