Plume/templates/posts/details.tera

26 lines
646 B
Plaintext
Raw Normal View History

2018-05-09 21:09:52 +02:00
{% extends "base" %}
{% block title %}
{{ post.title }}
{% endblock title %}
{% block content %}
2018-05-10 11:44:57 +02:00
<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 }}">
2018-05-10 11:44:57 +02:00
<b>{{ comment.author.display_name }}</b>
<div>{{ comment.content | safe }}</div>
<a href="comment?responding_to={{ comment.id }}">Respond</a>
2018-05-10 11:44:57 +02:00
</div>
{% endfor %}
<a href="comment?">Comment</a>
2018-05-09 21:09:52 +02:00
{% endblock content %}