From 3459781f6c040d9f9535b4c528214f2c472566a8 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 16 Sep 2022 21:10:30 +0100 Subject: [PATCH] bugfix: add missing raw block --- ...-09-14-automating-social-share-images-with-11ty-puppeteer.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/tutorials/2022-09-14-automating-social-share-images-with-11ty-puppeteer.md b/content/tutorials/2022-09-14-automating-social-share-images-with-11ty-puppeteer.md index f39fb749..5e1e2a1d 100644 --- a/content/tutorials/2022-09-14-automating-social-share-images-with-11ty-puppeteer.md +++ b/content/tutorials/2022-09-14-automating-social-share-images-with-11ty-puppeteer.md @@ -232,6 +232,7 @@ module.exports = { This filter is used in my main template to conditionally add the og-image meta tag if an image is available: +{% raw %} ```html {% if ogImageHref %} @@ -240,6 +241,7 @@ This filter is used in my main template to conditionally add the og-image meta t {% endif %} ``` +{% endraw %} Finally, because the images are output to the `_assets/og-image` folder, I need to tell 11ty to copy that to `img/og-image` when publishing: