website/templates/blog/post.html
realaravinth 703556d238
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: copy code to clipboard on blog posts
2022-10-04 18:09:44 +05:30

23 lines
703 B
HTML

{% 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" %}
<div class="blog__content">
{% include "blog/_toc.html" %}
{{ 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>
</div>
<script src="{{ get_url(path='/js/copy.js', cachebust=true) }}"></script>
{% endblock content %}