Reformat templates
1 file changed, 24 insertions(+), 24 deletions(-)
changed files
M templates/page.html → templates/page.html
@@ -5,29 +5,29 @@ {{ page.title }} | {{ super() }} {% endblock %} {% block main %} -{%- if not page.extra.menu %} -<h1>{{ page.title }}</h1> -{%- if page.date %} -<p> - <i> - <time datetime='{{ page.date | date(format='%+') }}' pubdate> - {{ page.date | date(format=config.extra.date_format) }} - </time> - </i> -</p> -{%- endif %} -{%- endif %} -<content> - {{ page.content | safe }} -</content> -<p> - {%- if page.taxonomies %} - {%- for name, taxon in page.taxonomies %} - {{ name | capitalize }}: - {%- for item in taxon %} - <a href="{{ get_taxonomy_url(kind=name, name=item) }}">#{{ item }}</a> - {%- endfor %} - {%- endfor %} + {%- if not page.extra.menu %} + <h1>{{ page.title }}</h1> + {%- if page.date %} + <p> + <i> + <time datetime='{{ page.date | date(format='%+') }}' pubdate> + {{ page.date | date(format=config.extra.date_format) }} + </time> + </i> + </p> + {%- endif %} {%- endif %} -</p> + <content> + {{ page.content | safe }} + </content> + <p> + {%- if page.taxonomies %} + {%- for name, taxon in page.taxonomies %} + {{ name | capitalize }}: + {%- for item in taxon %} + <a href="{{ get_taxonomy_url(kind=name, name=item) }}">#{{ item }}</a> + {%- endfor %} + {%- endfor %} + {%- endif %} + </p> {% endblock %}