webbed-site/templates/blog-page.html

46 lines
1.4 KiB
HTML
Raw Normal View History

2024-07-08 15:41:28 -05:00
{% extends "base.html" %}
{% block content %}
2024-09-13 20:20:08 -05:00
<h1>{{ page.title }}</h1>
<hr style="border: dashed 1px; color: var(--linkColor); width: 93%; margin: 1em auto;">
<article>
2024-07-08 15:41:28 -05:00
{% if page.toc and page.extra.toc %}
{% for h1 in page.toc %}
<div class="navtoc">
<a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
{% if h1.children %}
{% for h2 in h1.children %}
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
{% for h3 in h2.children %}
<a href="{{ h3.permalink | safe }}">{{ h3.title }}</a>
{% endfor %}
{% endfor %}
{% endif %}
2024-09-13 20:20:08 -05:00
</div>
2024-07-08 15:41:28 -05:00
{% endfor %}
2024-09-13 20:20:08 -05:00
{% endif %}
2024-07-08 15:41:28 -05:00
<p class="tagsData">
2024-09-14 12:51:00 -05:00
{% if page.taxonomies.tags %}
tagged:&nbsp;
{% for tag in page.taxonomies.tags %}
<a href="/tags/{{ tag | slugify }}"> {{ tag }} </a>
{% if not loop.last %}
/
{% endif %}
2024-09-15 00:15:34 -05:00
{% endfor %}<br>
{% endif %}
2024-09-14 12:51:00 -05:00
{% if config.extra.author and config.extra.display_author == true %}
<time datetime="{{ page.date }}">published <span class="metaData">{{ page.date }}</span></time>
<address rel="author">by {{config.extra.author}}<br></address>
2024-07-08 15:41:28 -05:00
{% endif %}
2024-09-14 12:51:00 -05:00
{{ page.content | safe }}
2024-09-13 20:20:08 -05:00
</article>
<p style="clear: both; text-align: right; position:sticky; bottom: 15px;">
<a href="/blog" title="back to blog posts">
<i class="ph ph-arrow-bend-down-left"></i>
</a>
<a href="#top" title="return to top">
<i class="ph ph-arrow-fat-lines-up"></i>
</a>
2024-07-08 15:41:28 -05:00
</p>
2024-09-13 20:20:08 -05:00
2024-07-08 15:41:28 -05:00
{% endblock content %}