all repos — zola-bearblog @ c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0

Port of bear blog theme to zola

Reformat templates

Alan Pearce
commit

c78a3f2301caa3dc4c03d3b2a75f4f003e5863d0

parent

4df500c33f3d3ba7b9387a2bc0447850a04d15c8

1 file changed, 24 insertions(+), 24 deletions(-)

changed files
M templates/page.htmltemplates/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 %}