Initial commit: simpleblog
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{% 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>›</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 %}
|
||||
Reference in New Issue
Block a user