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>
|
2018-05-10 18:38:03 +02:00
|
|
|
|
|
|
|
<p>
|
|
|
|
{{ n_likes }} like{{ n_likes | pluralize }}
|
|
|
|
</p>
|
|
|
|
<a href="like">Add yours</a>
|
|
|
|
|
2018-05-10 11:44:57 +02:00
|
|
|
<h2>Comments</h2>
|
|
|
|
{% for comment in comments %}
|
2018-05-10 15:58:17 +02:00
|
|
|
<div id="comment-{{ comment.id }}">
|
2018-05-10 11:44:57 +02:00
|
|
|
<b>{{ comment.author.display_name }}</b>
|
|
|
|
<div>{{ comment.content | safe }}</div>
|
2018-05-10 16:26:12 +02:00
|
|
|
<a href="comment?responding_to={{ comment.id }}">Respond</a>
|
2018-05-10 11:44:57 +02:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2018-05-10 16:26:12 +02:00
|
|
|
<a href="comment?">Comment</a>
|
2018-05-09 21:09:52 +02:00
|
|
|
{% endblock content %}
|