1
0
Fork 0
forked from github/pelican

Uniformize headers in simple theme

In the simple theme, some templates are using `h1`, others are using
`h2` for the main title of the page (other than the one in the header).
This commit changes that so all of the pages are using `h1`.
This commit is contained in:
Pierre Equoy 2022-01-17 16:06:39 +08:00
commit fe4f1ec4ea
4 changed files with 5 additions and 5 deletions

View file

@ -24,9 +24,9 @@
{% block content %}
<section id="content" class="body">
<header>
<h2 class="entry-title">
<h1 class="entry-title">
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
</header>