Files
flask_blog/templates/post_detail.html
2026-03-15 15:11:30 +01:00

34 lines
1.4 KiB
HTML

{% extends "base.html" %} {% block title %}{{ post.title }} - Simple Blog
Template{% endblock %} {% block content %} {% from
"components/post_renderer.html" import render_post %} {% from
"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>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the
1500s, when an unknown printer took a galley of type and scrambled it to
make a type specimen book. It has survived not only five centuries, but also
the leap into electronic typesetting, remaining essentially unchanged. It
was popularised in the 1960s with the release of Letraset sheets containing
Lorem Ipsum passages, and more recently with desktop publishing software
like Aldus PageMaker including versions of Lorem Ipsum.
<div class="post-actions">
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
>← Back to Posts</a
>
</div>
<hr style="margin-top: 25px; margin-bottom: 10px" />
{% include 'leave_comment.html' %}
<hr />
{{render_comment(comments)}}
</div>
</div>
{% endblock %}