diff options
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/templates/page.html b/templates/page.html index 6651d15..12f0603 100644 --- a/templates/page.html +++ b/templates/page.html @@ -5,29 +5,29 @@ {% 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 %} |