diff options
Diffstat (limited to 'themes/rusted/templates/page.html')
-rw-r--r-- | themes/rusted/templates/page.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/themes/rusted/templates/page.html b/themes/rusted/templates/page.html new file mode 100644 index 0000000..a4f21f4 --- /dev/null +++ b/themes/rusted/templates/page.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} + +{% block title %} +{{ page.title }} {%if page.subtitle %} - {{ page.subtitle }} {% endif %} ยท {{ super() }} +{% endblock title %} + +{% block head_description %} +{% if page.summary %} +{{ article.summary|striptags }} +{% endif %} +{% endblock head_description %} + +{% block meta_tags_in_head %} +{% if page.tags or page.category or page.keywords %} +<meta name="keywords" content="{{ [page.tags|join(', '), page.category, page.keywords]|join(', ') }}" /> +{% endif %} +{% endblock meta_tags_in_head %} + +{% block content %} + +<div class="post"> + <header class="post-header"> + <h1>{{ page.title }}</h1> + </header> + + <article class="post-content"> + {{ page.content }} + </article> + +</div> +{% endblock content %} |