2023-02-11 11:48:39 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2023-02-12 08:18:56 +00:00
|
|
|
{% block title %}{{ post.name }}{% endblock %}
|
2023-02-11 11:48:39 +00:00
|
|
|
|
|
|
|
{% block head %}{% endblock %}
|
|
|
|
|
|
|
|
{% block breadcrumb %}
|
|
|
|
<li><a href="/posts">posts</a></li>
|
2023-02-12 08:18:56 +00:00
|
|
|
<li><a href="/posts/{{ post.slug }}">{{ post.slug }}</a></li>
|
2023-02-11 11:48:39 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-02-12 08:18:56 +00:00
|
|
|
<table id="blog-meta">
|
|
|
|
<tr>
|
|
|
|
<th>Published at</th>
|
|
|
|
<td>{{ post.published_at }}</td>
|
|
|
|
</tr>
|
|
|
|
{% match post.edited_at %}
|
|
|
|
{% when Some with (x) %}
|
|
|
|
<tr>
|
|
|
|
<th>Edited at</th>
|
|
|
|
<td>{{ x }}</td>
|
|
|
|
</tr>
|
|
|
|
{% when None %}
|
|
|
|
{% endmatch %}
|
|
|
|
<tr>
|
|
|
|
<th>Tags</th>
|
|
|
|
<td>
|
|
|
|
<ul class="tag-list">
|
|
|
|
{% for tag in post.tags %}
|
|
|
|
<li><a href="/tags/{{ tag }}">{{ tag }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2023-02-11 11:48:39 +00:00
|
|
|
<article class="wysiwyg">
|
2023-02-12 08:18:56 +00:00
|
|
|
{{ post.content|safe }}
|
2023-02-11 11:48:39 +00:00
|
|
|
</article>
|
|
|
|
{% endblock %}
|