move blog schema to head
This commit is contained in:
parent
1fd0a78470
commit
7c02e55ead
2 changed files with 4 additions and 4 deletions
|
|
@ -19,7 +19,9 @@
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
<!-- synchronous js / schema -->
|
<!-- synchronous js / schema -->
|
||||||
{% include "schemas/base-schema.njk" %}
|
{% include "schemas/base-schema.njk" %} {% if schema == 'blog' %}
|
||||||
|
<!-- include blogpost schema -->
|
||||||
|
{%- include "schemas/blogpost-schema.njk" %} {% endif %}
|
||||||
|
|
||||||
<!-- synchronous css / inline css -->
|
<!-- synchronous css / inline css -->
|
||||||
<link rel="stylesheet" href="/assets/css/global.css?{{ assetHash }}" />
|
<link rel="stylesheet" href="/assets/css/global.css?{{ assetHash }}" />
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: base
|
layout: base
|
||||||
|
schema: blog
|
||||||
preloads:
|
preloads:
|
||||||
href: '/assets/fonts/robotomono/robotomono-variablefont_wght-webfont.woff2'
|
href: '/assets/fonts/robotomono/robotomono-variablefont_wght-webfont.woff2'
|
||||||
as: 'font'
|
as: 'font'
|
||||||
|
|
@ -16,6 +17,3 @@ preloads:
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<!-- include blogpost schema -->
|
|
||||||
{%- include "schemas/blogpost-schema.njk" %}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue