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:
I added a This year music toggle https://coryd.dev/now#artists (plus logic to account for the fact that I don't have a year's worth of track plays wedged into Netlify's blob storage to draw on just yet). #WebDev#Music#Eleventy
I'm about to start using #Git for the first time, to make the development of my new #11ty site a bit easier. Learning both #Nunjucks and modern #CSS leads to a lot of manual rollbacks I hope will become easier.
I've read a lot about Git, but one question lingers still: I’m building my site based on #Eleventy Base Blog, in a repo I cloned using #Github Desktop.
How do I disconnect (or whatever the technical term is) from the original Github repo and turns it into a private of my own?