feat: manually generate ogi to speed up builds
This commit is contained in:
parent
25cc2f9d77
commit
7b7ce22aad
303 changed files with 87 additions and 114 deletions
|
@ -25,7 +25,7 @@
|
|||
<meta property="og:url" content="{{ fullUrl }}" />
|
||||
<meta
|
||||
property="og:image"
|
||||
content="{%- if schema == 'blog' %}{{ meta.url }}/assets/img/social-preview/{{ title | slugify }}-preview.jpeg{%- else -%}{{ meta.meta_data.opengraph_default }}{% endif -%}"
|
||||
content="{%- if schema == 'blog' %}{{ meta.url }}/assets/img/ogi/{{ title | slugify }}-preview.png{%- else -%}{{ meta.meta_data.opengraph_default }}{% endif -%}"
|
||||
/>
|
||||
<meta name="theme-color" content="{{ meta.themeColor }}" />
|
||||
<meta name="generator" content="Eleventy">
|
||||
|
|
Reference in a new issue