diff --git a/.eleventy.js b/.eleventy.js index 897faa95..66241833 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -55,7 +55,11 @@ module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(pluginNavigation); eleventyConfig.addPlugin(pluginTOC, { tags: ['h1', 'h2'], - wrapper: 'nav', + wrapper(content, label) { + return `