Eleventy Tricks
Forbid Nunjucks processing inside Markdown
/* .eleventy.js */
eleventyConfig.addPreprocessor("autoRaw", "md", (data, content) => {
// This regex looks for {{, }}, {%, or %} individually and wraps them
return content.replace(/({{|}}|{%|%})/g, "{% raw %}$1{% endraw %}");
});
✅ Verified by TFG
Best minimal starters
| Repo | Stats | Last Release | Pros | Cons |
|---|---|---|---|---|
| https://github.com/11ty/eleventy-base-blog | official | not minimal (custom code/content), no CMS included | ||
| https://github.com/anydigital/sveleven | truly minimal, Sveltia CMS included | |||
| https://github.com/madrilene/eleventy-excellent | https://buildexcellentwebsit.es/ | not minimal (custom code/content), no CMS included | ||
| https://github.com/danurbanowicz/eleventy-netlify-boilerplate | optimized for Netlify & Decap CMS | not minimal (custom code/content), slightly outdated | ||
| https://github.com/5t3ph/11ty-sass-skeleton | ||||
| https://github.com/5t3ph/smol-11ty-starter |