Useful @11ty filters for #Nunjucks / #Liquid via https://github.com/anydigital/eleventy-blades plugin:
- attr_concat
- attr_includes
- attr_set
- fetch
- if
- merge
- remove_tag
- strip_tag
- section
- unindent
Useful @11ty filters for #Nunjucks / #Liquid via https://github.com/anydigital/eleventy-blades plugin:
- attr_concat
- attr_includes
- attr_set
- fetch
- if
- merge
- remove_tag
- strip_tag
- section
- unindent
Creating an Alphabetical Tag Page feat. Nunjucks Pitfalls | 🔗 https://brennan.day/creating-an-alphabetical-tag-page-feat-nunjucks-pitfalls/
Quesby 0.1.2 is now available!
A lightweight static website boilerplate built on Eleventy and Nunjucks.
PicoSSG v6 is out! 🎉
PicoSSG is a #simple #static #site #generator (or #SSG) that allows you to build static sites with ease. It is designed to be #minimal, fast, and easy to use, making it perfect for small projects or personal blogs.
It has just two features and a bit more than 500 lines of code. It can convert #markdown into HTML and process #Nunjucks templates.
Another weird issue with #Eleventy #Nunjucks templates…
I have these two lines:
{% set photos = page.data.photos %}
{{ page.data.photos | length }} / {{ photos | length }}
The result is:
0 / 24
What the… 🤨
EDIT: the issue was me all along… 😞
@[email protected] ooooooh, I feel so dumb! In the layout for the page, `photos` is directly available, it's not in `page.data.photos`! 🤪 My assignment was not required, and actually did nothing. I don't know why I thought data coming from eleventyComputed in a directory data file was always in page.data.… 🤷♂️
PicoSSG – A boring static site generator. Just as much tech as it needs.
Static site generators – sounds boring. But most aren't, because they try to do everything and end up big and complex.
PicoSSG is intentionally boring. It processes *.md and *.njk files, copies everything else as-is. Around 300 lines of plain JavaScript. Boring. As it should be.
Think of it as #cp + #markdown + #nunjucks. That’s it. Boring.
My blog picostitch.com is already built with it.
The pico static side generator, the simplest one I ever wanted and hopefully 'found'.. Latest version: 3.0.1, last published: 2 minutes ago. Start using @wolframkriesing/picossg in your project by running `npm i @wolframkriesing/picossg`. There are no other projects in the npm registry using @wolframkriesing/picossg.