website/templates/blog/post.html

24 lines
703 B
HTML
Raw Permalink 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>
<script src="{{ get_url(path='/js/copy.js', cachebust=true) }}"></script>
2022-09-08 02:16:15 +05:30
{% endblock content %}