Clayton Errington 🖥️ · @cjerrington
78 followers · 905 posts · Server mstdn.social

@codeHaiku I used for the longest time and GitHub Pages. Now switched to and the @eleventy project. It’s build times and multi use support system for and markdown and environment were a huge improvement for me.

#NodeJS #nunjucks #11ty #jekyll

Last updated 1 year ago

Clayton Errington 🖥️ · @cjerrington
68 followers · 638 posts · Server mstdn.social

Working with , , and tag counts in today's 12th post of the

claytonerrington.com/blog/11ty

#100DaysToOffload #nunjucks #11ty

Last updated 2 years ago

Sean (TheOceanBreeze) · @TheOceanBreeze
1 followers · 29 posts · Server fosstodon.org

Just finished working around massive changes to website and published!

I had to move to using Nunjucks for certain templates instead of Pug so I can use the features I need in 11ty.

#nunjucks #pug #11ty

Last updated 2 years ago

Kete · @kete
8 followers · 124 posts · Server mstdn.social

went back to ( ), found out about layouts, so I took my basic HTML file and turned it into a file in an _includes folder.

#nunjucks #liquid #eleventy #11ty

Last updated 2 years ago

Kete · @kete
8 followers · 139 posts · Server mstdn.social

went back to ( ), found out about layouts, so I took my basic HTML file and turned it into a file in an _includes folder. Included some data; need to include other parts like the navigation, but kept the footer as JavaScript, which needs some tweaking to adjust to a new part.

#nunjucks #eleventy #11ty

Last updated 2 years ago

death_au · @death_au
40 followers · 60 posts · Server pkm.social

Any experts in my little network?

I've got a bunch of .md files in a notes folder, and I've also made a collection of said notes so I can display an index/list page with each note also getting its own page/permalink.

I want to use the same "layout" for both, but the list page loops through the collection using giving me an "item" variable with frontmatter fields accessible in "item.data".

This is obviously not the case for the individual note pages though...

#11ty #nunjucks

Last updated 2 years ago

Yehuda B. · @yehudab
0 followers · 2 posts · Server fosstodon.org

Next I created a fairly simple template that basically follows the getting started guide, and boom: All recorded trails now have their own dedicated map pages.

Code for data file is available here: github.com/yehudab/11r/blob/ma

And the template is here: github.com/yehudab/11r/blob/ma

Sample map page (in Hebrew): yehudab.com/maps/trail-3/

#nunjucks #leafletjs

Last updated 2 years ago

Max · @PossiblyMax
7 followers · 79 posts · Server hachyderm.io

@flytzen Tags might help you reach a wider audience 😁 Can anyone help Frans with his question?

#nodejs #Express #nunjucks #web #development

Last updated 2 years ago

Matt Walker · @walkermatt
22 followers · 2 posts · Server mastodon.social

After a few days working with to build a small bilingual static website I'm really impressed at the dev experience. I'm yet to bump into any rough edges, which has been a nice surprise 😊

Looking forward to @tomchadwin working on the @openlayers web map aspects next week.

#11ty #eleventy #nunjucks #i18n

Last updated 2 years ago

Matt Walker · @walkermatt
52 followers · 20 posts · Server mastodon.social

After a few days working with to build a small bilingual static website I'm really impressed at the dev experience. I'm yet to bump into any rough edges, which has been a nice surprise 😊

Looking forward to @tomchadwin working on the @openlayers web map aspects next week.

#11ty #eleventy #nunjucks #i18n

Last updated 2 years ago

Michael Scharnagl · @justmarkup
215 followers · 859 posts · Server mastodon.social

Would need some help.

I have the following input:

"Test <a href="#">Test</a>"

How can I output this as

"Test <a href\"#\">Test</a>"

#nunjucks

Last updated 2 years ago

Charles Roper 🌻 · @charlesroper
84 followers · 242 posts · Server indieweb.social

@kjvdven I use djLint. It's especially great if you're using or some other curly brace templating language - other formatters make a right mess.

djlint.com/

#nunjucks

Last updated 2 years ago

Binyamin Green · @binyamin
52 followers · 16 posts · Server front-end.social

I've been writing my own templating engine. Jinja-based, so similar to . It's interesting where rabbit holes take you.

#nunjucks

Last updated 2 years ago

Nicolas Hoizey · @nhoizey
302 followers · 3541 posts · Server mamot.fr

🔗 “Understanding Filters, Shortcodes and Data in 11ty”
by @MikeRiethmuller@twitter.com

nho.io/l/2020/12/09/understand

#nunjucks #eleventy

Last updated 4 years ago

Doug Webb · @douginamug
756 followers · 6580 posts · Server mastodon.xyz

Do you write notes in ? Does organizing/searching for your notes fill you with rage? Then perhaps this thing I hacked together might interest you!

gitlab.com/DougInAMug/noteasy

(My first published 'code project', critical feedback welcome.)

#markdown #metalsmith #foss #nunjucks #productivity

Last updated 5 years ago

Doug Webb · @douginamug
756 followers · 6581 posts · Server mastodon.xyz

I'm new to templating. I think I've narrowed my choices to or . Opinions please.

#nunjucks #handlebars

Last updated 6 years ago