From 4b925f99e9246d71c285327a58d900ddb2521546 Mon Sep 17 00:00:00 2001 From: Devin Haska Date: Tue, 5 Mar 2024 14:45:36 -0800 Subject: [PATCH] feat: update meta description to use post excerpt --- src/posts/posts.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/posts/posts.json b/src/posts/posts.json index 2f42ba1..46563b5 100644 --- a/src/posts/posts.json +++ b/src/posts/posts.json @@ -1,5 +1,8 @@ { "layout": "layouts/post", "tags": "post", - "permalink": "posts/{{ page.fileSlug }}/index.html" + "permalink": "posts/{{ page.fileSlug }}/index.html", + "eleventyComputed": { + "description": "{{ excerpt | safe }}" + } }