website/templates/blog/post.html

23 lines
628 B
HTML
Raw Normal View History

2022-09-08 02:16:15 +05:30
{% extends "base.html" %} {% block meta %} {% set description = page.description
%} {{ macros::get_meta_tags(title=page.title, description=description) }} {%
endblock meta %} {% block content %}
<div class="page__container">
<h1 class="page__group-title">{{ page.title }}</h1>
{% include "blog/_meta.html" %}
2022-09-08 02:16:15 +05:30
<div class="blog__content">
{% include "blog/_toc.html" %}
2022-09-08 02:16:15 +05:30
{{ page.content | safe }}
</div>
<br />
<br />
<div class="blog__post-tag-container">
{% for t in page.taxonomies.tags %}
<a class="blog__post-tag" href="/tags/{{t | slugify }}">#{{ t }}</a>
{% endfor %}
</div>
2022-09-08 02:16:15 +05:30
</div>
{% endblock content %}