feat: manually generate ogi to speed up builds

This commit is contained in:
Cory Dransfeldt 2024-05-02 14:49:04 -07:00
parent 25cc2f9d77
commit 7b7ce22aad
No known key found for this signature in database
303 changed files with 87 additions and 114 deletions

View file

@ -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">