Plume/templates/posts/details.tera

25 lines
572 B
Plaintext

{% extends "base" %}
{% block title %}
{{ post.title }}
{% endblock title %}
{% block content %}
<h1>{{ post.title }}</h1>
<p>Published in {{ blog.title }}</p>
<hr>
<p>
{{ post.content | safe }}
</p>
<p>License: {{ post.license }}</p>
<hr>
<h2>Comments</h2>
{% for comment in comments %}
<div id="comment-{{ comment.id }}">
<b>{{ comment.author.display_name }}</b>
<div>{{ comment.content | safe }}</div>
</div>
{% endfor %}
<a href="comment">Comment</a>
{% endblock content %}