feat: restore link widgets

This commit is contained in:
Cory Dransfeldt 2024-10-28 13:36:39 -07:00
parent d813bd505f
commit 5911b30917
No known key found for this signature in database
18 changed files with 319 additions and 17 deletions

View file

@ -9,7 +9,7 @@ import markdownItPrism from "markdown-it-prism";
import syntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight";
import tablerIcons from "@cdransf/eleventy-plugin-tabler-icons";
import { minifyJsComponents } from "./config/events/index.js";
import { albumReleasesCalendar } from "./config/collections/index.js";
import { popularPosts, albumReleasesCalendar } from "./config/collections/index.js";
import { cssConfig } from "./config/plugins/css-config.js";
// load .env
@ -48,6 +48,7 @@ export default async function (eleventyConfig) {
"assets/scripts/components/youtube-video-element.js",
});
eleventyConfig.addCollection("popularPosts", popularPosts);
eleventyConfig.addCollection("albumReleasesCalendar", albumReleasesCalendar);
const md = markdownIt({ html: true, linkify: true });