Configure eleventy-plugin-embed-everything to support Soundcloud
This commit is contained in:
parent
a25de21dfe
commit
467cc87a53
|
@ -25,7 +25,7 @@ module.exports = function (eleventyConfig) {
|
||||||
eleventyConfig.addPlugin(metagen);
|
eleventyConfig.addPlugin(metagen);
|
||||||
eleventyConfig.addPlugin(pluginTOC, { tags: ['h2', 'h3', 'h4', 'h5'] });
|
eleventyConfig.addPlugin(pluginTOC, { tags: ['h2', 'h3', 'h4', 'h5'] });
|
||||||
eleventyConfig.addPlugin(emojiReadTime);
|
eleventyConfig.addPlugin(emojiReadTime);
|
||||||
eleventyConfig.addPlugin(embedEverything);
|
eleventyConfig.addPlugin(embedEverything, { add: ['soundcloud'] });
|
||||||
|
|
||||||
// Configure slug filter
|
// Configure slug filter
|
||||||
eleventyConfig.addFilter("slug", (str) => {
|
eleventyConfig.addFilter("slug", (str) => {
|
||||||
|
|
Loading…
Reference in New Issue