From cd67bc0d67f7ac6b61e97357c533680fd8788149 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 20 Apr 2024 11:51:43 -0700 Subject: [PATCH] fix: deps and posts --- .eleventy.js | 3 +++ src/_includes/post.liquid | 1 + 2 files changed, 4 insertions(+) diff --git a/.eleventy.js b/.eleventy.js index a13f89b3..332c41c2 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -73,6 +73,9 @@ export default async function (eleventyConfig) { eleventyConfig.addPassthroughCopy({ 'node_modules/@daviddarnes/link-peek/link-peek.js': 'assets/scripts/components/link-peek.js' }) + eleventyConfig.addPassthroughCopy({ + 'node_modules/@daviddarnes/mastodon-post/mastodon-post.js': 'assets/scripts/components/mastodon-post.js' + }) // enable merging of tags eleventyConfig.setDataDeepMerge(true) diff --git a/src/_includes/post.liquid b/src/_includes/post.liquid index a36ff5c7..d77f275d 100644 --- a/src/_includes/post.liquid +++ b/src/_includes/post.liquid @@ -23,4 +23,5 @@ schema: blog +{% render "partials/mastodon-post.liquid", postUrl:postUrl, linkPosts:linkPosts %} {% render "partials/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %} \ No newline at end of file