You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have `markdown-it-anchor' installed and working.
Desired output
I expected to see a list of links in the <aside> of the layout.
Actual output
[11ty] 1. Having trouble writing to "_site/blog/2020-review-koltozes-az-elso-covid-19-hullam-kellos-kozepen/index.html" from "./blog/2020-review-koltozes-az-elso-covid-19-hullam-kellos-kozepen.md" (via EleventyTemplateError)
[11ty] 2. (./_includes/post-layout.njk)
[11ty] Error: filter not found: toc (via Template render error)
[11ty]
[11ty] Original error stack trace: Template render error: (./_includes/post-layout.njk)
[11ty] Error: filter not found: toc
[11ty] at Object._prettifyError (/opt/homebrew/lib/node_modules/@11ty/eleventy/node_modules/nunjucks/src/lib.js:32:11)
[11ty] at /opt/homebrew/lib/node_modules/@11ty/eleventy/node_modules/nunjucks/src/environment.js:464:19
[11ty] at Template.root [as rootRenderFunc] (eval at _compile (/opt/homebrew/lib/node_modules/@11ty/eleventy/node_modules/nunjucks/src/environment.js:527:18), <anonymous>:32:3)
[11ty] at Template.render (/opt/homebrew/lib/node_modules/@11ty/eleventy/node_modules/nunjucks/src/environment.js:454:10)
[11ty] at /opt/homebrew/lib/node_modules/@11ty/eleventy/src/Engines/Nunjucks.js:411:14
[11ty] at new Promise (<anonymous>)
[11ty] at /opt/homebrew/lib/node_modules/@11ty/eleventy/src/Engines/Nunjucks.js:410:14
[11ty] at TemplateLayout.render (/opt/homebrew/lib/node_modules/@11ty/eleventy/src/TemplateLayout.js:236:31)
[11ty] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[11ty] at async Template.renderPageEntry (/opt/homebrew/lib/node_modules/@11ty/eleventy/src/Template.js:793:17)
The text was updated successfully, but these errors were encountered:
Environment
Node version:
19.8.1
OS/version:
macOS 13.4
Eleventy
Eleventy version:
2.0.1
Template engine:
njk
Sample input file:
what does it mean?
Plugin
Plugin module version:
1.1.5
Plugin settings object (if used):
tags: ['h2', 'h3'], wrapper: 'div'
Plugin use in template:
Description of the issue
Followed through the instructions as closely as I could but on build 11ty throws an error.
I was able to fix it with some trial and error (I'm no developer) but it sure feels like a hack.
In .eleventy.js added globalOpts to module.export and copy pasted the filter from this repo's .eleventy.js like this:
I have `markdown-it-anchor' installed and working.
Desired output
I expected to see a list of links in the
<aside>
of the layout.Actual output
The text was updated successfully, but these errors were encountered: