Files
simpleblog/templates/page.html
T
2026-11-14 17:05:01 +00:00

26 lines
887 B
HTML

{% extends "base.html" %}
{% block title %}{{ page.title }} · {{ site_title }}{% endblock %}
{% block og_title %}{{ page.title }}{% endblock %}
{% block og_description %}{{ page.title }} · {{ site_title }}{% endblock %}
{% block twitter_title %}{{ page.title }}{% endblock %}
{% block twitter_description %}{{ page.title }} · {{ site_title }}{% endblock %}
{% block content %}
<nav class="breadcrumb">
<a href="{{ url_for('public.index') }}">Home</a>
<span>&rsaquo;</span>
<span>{{ page.title }}</span>
</nav>
<article class="single-post">
<h1 class="page-heading">{{ page.title }}</h1>
<div class="entry-content">
{{ render_markdown(page.content) }}
</div>
</article>
{# comments.html renders its own <section> + "Comments" heading; wrapping it
here duplicated both. #}
{% include "comments.html" %}
{% endblock %}