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
|
||||
---
|
||||
|
||||
<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>
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ layout: base
|
|||
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">
|
||||
<h1 class="gradient-text">{{ title }}</h1>
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ schema: BlogPosting
|
|||
alt="{{ meta.author.name }}"
|
||||
/>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
{%- css "local" -%}
|
||||
{%- include 'css/post.css' -%}
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
layout: base
|
||||
---
|
||||
|
||||
<article class="region">
|
||||
<div class="region">
|
||||
<div class="wrapper flow">
|
||||
<h1 class="gradient-text-linear text-step-4">{{ title }}</h1>
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ pagination:
|
|||
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)">
|
||||
<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>
|
||||
|
|
@ -41,4 +41,4 @@ permalink: 'blog/{% if pagination.pageNumber >=1 %}page-{{ pagination.pageNumber
|
|||
<!-- include pagination -->
|
||||
{% include 'partials/pagination.njk' %}
|
||||
{% endif %}
|
||||
</article>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue