If you're only gonna watch one thing this weekend, watch this amazing talk about the history of styling in the web and the guiding principles of how browsers work with regards to styling by @mia from last week's 11ty conference.
I’ll write more about this next week, but last night I quietly switched over to a new 11ty v3 build of my site. Cut myself on the bleeding edge a few times but also figured out a whole lot of fun things!
I have a git submodule that I am adding inside the repository of my website, but I want it to be ignored, except for its README.md.
I have tried two different approaches. In both cases I am able to exclude the git submodule, but I can’t find a way to include the README and use it as a regular template.
module.exports = function (eleventyConfig) {<br></br> eleventyConfig.ignores.add('inputdir/submodule');<br></br> eleventyConfig.ignores.add('inputdir/submodule/README.md'); // added it first to be sure<br></br> eleventyConfig.ignores.delete('inputdir/submodule/README.md');<br></br>};<br></br>
I'm still hyped about everything that happened at #11tyconf. The talks were so great, and I'm once again keen to try out @eleventy in new ways.
Especially interested to try out the new ‘Eleventy Transform' option within the Eleventy Image plugin, allowing you to transform any <img> automatically into something more performant https://www.11ty.dev/docs/plugins/image/#eleventy-transform
Hmm I've only ever built sites using #Django, bcos I'm most good at #Python and I'm just super familiar with all the features (and quirks) of Django and it's been great, but honestly being good at only Django (when it comes to web dev) does gimme huge impostor syndrome cos I know fuck all when people talk about #Node and whatnot :(
Maybe I can learn how to build a site using #Eleventy so I too can speak gibberish lingo I never understood before with other fellow programmers?
Live and learn — I used a filter to render recent posts on my home page. The splice call in the filter mutated the global posts collection causing said posts not to make it to my RSS feed. #Eleventy#WebDev
I'm probably going to get a new laptop soonish, and when that happens, this little fella is going straight onto it! Such a cute character! (not pictured: a neat shirt!) #eleventy
Finally moved from Eleventy 0.12 to 1.0.1, which I didn’t really need to do…but I was curious how much work it would involve. Turns out: not much! Just two small wrinkles, one of which is Eleventy-related, the other a weird JavaScript inconsistency that was breaking my Images Responsiver config: