forked from github/pelican
Fix #3233 -- Simple theme classless semantic HTML
This commit is contained in:
parent
d7015db9e4
commit
6059675d55
27 changed files with 163 additions and 119 deletions
8
pelican/themes/simple/templates/page.html
vendored
8
pelican/themes/simple/templates/page.html
vendored
|
|
@ -13,15 +13,21 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
<article>
|
||||
<header>
|
||||
<h2>{{ page.title }}</h2>
|
||||
</header>
|
||||
{% import 'translations.html' as translations with context %}
|
||||
{{ translations.translations_for(page) }}
|
||||
|
||||
{{ page.content }}
|
||||
|
||||
{% if page.modified %}
|
||||
<footer>
|
||||
<p>
|
||||
Last updated: {{ page.locale_modified }}
|
||||
</p>
|
||||
</footer>
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue