Refactor h1 headings in the content template
This commit is contained in:
parent
30d81fe3dd
commit
53b6e27905
|
@ -10,8 +10,9 @@
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<h1>{{ articleTitle or pageTitle or title }}</h1>
|
||||||
|
|
||||||
{% if isArticle %}
|
{% if isArticle %}
|
||||||
<h1>{{ articleTitle }}</h1>
|
|
||||||
<div class="article__info">
|
<div class="article__info">
|
||||||
<p>Posted on {{ date | formatDate }} by {{ sitemeta.siteAuthor.name }}
|
<p>Posted on {{ date | formatDate }} by {{ sitemeta.siteAuthor.name }}
|
||||||
{% if updated %}
|
{% if updated %}
|
||||||
|
@ -27,7 +28,6 @@
|
||||||
<p>{{ content | emojiReadTime }}</p>
|
<p>{{ content | emojiReadTime }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1>{{ pageTitle or title }}</h1>
|
|
||||||
{% if desc %}
|
{% if desc %}
|
||||||
<p>{{ desc }}</p>
|
<p>{{ desc }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue