fix: deps and posts

This commit is contained in:
Cory Dransfeldt 2024-04-20 11:51:43 -07:00
parent 2d0d778979
commit cd67bc0d67
2 changed files with 4 additions and 0 deletions

View file

@ -73,6 +73,9 @@ export default async function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({ eleventyConfig.addPassthroughCopy({
'node_modules/@daviddarnes/link-peek/link-peek.js': 'assets/scripts/components/link-peek.js' '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 // enable merging of tags
eleventyConfig.setDataDeepMerge(true) eleventyConfig.setDataDeepMerge(true)

View file

@ -23,4 +23,5 @@ schema: blog
</div> </div>
</article> </article>
</div> </div>
{% render "partials/mastodon-post.liquid", postUrl:postUrl, linkPosts:linkPosts %}
{% render "partials/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %} {% render "partials/addon-links.liquid", posts:collections.posts, analytics:analytics, links:collections.links %}