avoid including h1 in sectioning element
This commit is contained in:
parent
05b42d5aed
commit
e6274ae1f1
4 changed files with 8 additions and 8 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
layout: base
|
layout: base
|
||||||
---
|
---
|
||||||
|
|
||||||
<article class="region wrapper flow prose" style="--region-space-top: var(--space-xl-2xl)">
|
<div class="region wrapper flow prose" style="--region-space-top: var(--space-xl-2xl)">
|
||||||
<h1 class="gradient-text">{{ title }}</h1>
|
<h1 class="gradient-text">{{ title }}</h1>
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</article>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ layout: base
|
||||||
schema: BlogPosting
|
schema: BlogPosting
|
||||||
---
|
---
|
||||||
|
|
||||||
<article class="region" style="--region-space-top: var(--space-xl-2xl)">
|
<div class="region" style="--region-space-top: var(--space-xl-2xl)">
|
||||||
<div class="wrapper flow prose">
|
<div class="wrapper flow prose">
|
||||||
<h1 class="gradient-text">{{ title }}</h1>
|
<h1 class="gradient-text">{{ title }}</h1>
|
||||||
|
|
||||||
|
|
@ -41,7 +41,7 @@ schema: BlogPosting
|
||||||
alt="{{ meta.author.name }}"
|
alt="{{ meta.author.name }}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</div>
|
||||||
|
|
||||||
{%- css "local" -%}
|
{%- css "local" -%}
|
||||||
{%- include 'css/post.css' -%}
|
{%- include 'css/post.css' -%}
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
layout: base
|
layout: base
|
||||||
---
|
---
|
||||||
|
|
||||||
<article class="region">
|
<div class="region">
|
||||||
<div class="wrapper flow">
|
<div class="wrapper flow">
|
||||||
<h1 class="gradient-text-linear text-step-4">{{ title }}</h1>
|
<h1 class="gradient-text-linear text-step-4">{{ title }}</h1>
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ pagination:
|
||||||
permalink: 'blog/{% if pagination.pageNumber >=1 %}page-{{ pagination.pageNumber + 1 }}/{% endif %}index.html'
|
permalink: 'blog/{% if pagination.pageNumber >=1 %}page-{{ pagination.pageNumber + 1 }}/{% endif %}index.html'
|
||||||
---
|
---
|
||||||
|
|
||||||
<article class="wrapper">
|
<div class="wrapper">
|
||||||
<header class="full | section" style="--spot-color: var(--color-secondary)">
|
<header class="full | section" style="--spot-color: var(--color-secondary)">
|
||||||
<div class="section__inner flow region" style="--region-space-top: var(--space-xl-2xl)">
|
<div class="section__inner flow region" style="--region-space-top: var(--space-xl-2xl)">
|
||||||
<h1 class="text-center" style="color: var(--color-light);">{{ title }}</h1>
|
<h1 class="text-center" style="color: var(--color-light);">{{ title }}</h1>
|
||||||
|
|
@ -41,4 +41,4 @@ permalink: 'blog/{% if pagination.pageNumber >=1 %}page-{{ pagination.pageNumber
|
||||||
<!-- include pagination -->
|
<!-- include pagination -->
|
||||||
{% include 'partials/pagination.njk' %}
|
{% include 'partials/pagination.njk' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</article>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue