my tree!
This commit is contained in:
@@ -2,24 +2,25 @@
|
|||||||
Template{% endblock %} {% block content %} {% from
|
Template{% endblock %} {% block content %} {% from
|
||||||
"components/post_renderer.html" import render_post %} {% from
|
"components/post_renderer.html" import render_post %} {% from
|
||||||
"components/comment_renderer.html" import render_comment %}
|
"components/comment_renderer.html" import render_comment %}
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<h1 class="text-3xl font-bold mb-8">{{ post.title }}</h1>
|
||||||
|
<p class="lead">{{ post.subtitle }}</p>
|
||||||
|
<p>
|
||||||
|
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
|
||||||
|
</p>
|
||||||
|
{{ render_post(post) }}
|
||||||
|
<div class="post-actions">
|
||||||
|
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
|
||||||
|
>← Back to Posts</a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="col-lg-12">
|
<hr style="margin-top: 75px; margin-bottom: 40px" />
|
||||||
<h1 class="text-3xl font-bold mb-8">{{ post.title }}</h1>
|
{% include 'leave_comment.html' %}
|
||||||
<p class="lead">{{ post.subtitle }}</p>
|
|
||||||
<p>
|
<hr />
|
||||||
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
|
{{render_comment(comments)}}
|
||||||
</p>
|
|
||||||
{{ render_post(post) }}
|
|
||||||
<div class="post-actions">
|
|
||||||
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
|
|
||||||
>← Back to Posts</a
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr style="margin-top: 75px; margin-bottom: 40px" />
|
|
||||||
{% include 'leave_comment.html' %}
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
{{render_comment(comments)}}
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user