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>
|
||||
|
||||
<!-- 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 -->
|
||||
<link rel="stylesheet" href="/assets/css/global.css?{{ assetHash }}" />
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
layout: base
|
||||
schema: blog
|
||||
preloads:
|
||||
href: '/assets/fonts/robotomono/robotomono-variablefont_wght-webfont.woff2'
|
||||
as: 'font'
|
||||
|
|
@ -16,6 +17,3 @@ preloads:
|
|||
{{ content | safe }}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!-- include blogpost schema -->
|
||||
{%- include "schemas/blogpost-schema.njk" %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue