azimrh, to 11ty
@azimrh@mastodon.social avatar
tommi, (edited ) to 11ty
@tommi@pan.rent avatar

Hey #Eleventy tinkerers!

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.

Option 1: using .eleventyignore

inputdir/submodule<br></br>!inputdir/submodule/README.md<br></br>

Option 2: using .eleventy.js

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>

Do you have any suggestions to fix this? The ignore section in Eleventy’s documentation is not helping much…

Thanks a lot!

#11ty #help #WebDev #JavaScript #gitignore

cc: @eleventy @

(https://discord.com/channels/741017160297611315/1022195881698672650/threads/1233153676416254133 and on GitHub Discussions

teacherbuknoy, to 11ty
@teacherbuknoy@masto.ai avatar

Watching the #eleventy symposium right now, and Henry Desroches' talk is giving me a ton of ideas for my own website 😍

cory, to webdev
@cory@social.lol avatar

Pulling upcoming albums from my albums table in instead of using the ICS output from a calendar https://github.com/cdransf/coryd.dev/blob/e46fe15858a014dfb40eaddc609f3db5661e780c/src/_data/albumReleases.js

DavidDarnes, to 11ty
@DavidDarnes@mastodon.design avatar

I'm still hyped about everything that happened at . 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 &lt;img&gt; automatically into something more performant https://www.11ty.dev/docs/plugins/image/#eleventy-transform

irfan, to django

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?

RE: https://social.lol/users/bw/statuses/112414344202116592

hamatti, to 11ty
@hamatti@mastodon.world avatar

Here I was, sitting on my couch watching the conference when I suddenly saw and heard myself on the screen talking about static sites.

tommi, to 11ty
@tommi@pan.rent avatar

The talks have just started, and I love them so much already.

@mia, you read my thoughts after 10 seconds.

https://www.youtube.com/watch?v=iLxJ6PtuF9M

tommi, (edited ) to 11ty
@tommi@pan.rent avatar

This is AWESOME!

Thank you for developing this incredible plugin, @zachleat!

Now at : https://www.youtube.com/watch?v=iLxJ6PtuF9M

tommi, to 11ty
@tommi@pan.rent avatar

Proud to be attending , happening right now!

I have been looking forward to this for a while.

@eleventy

https://fosstodon.org/@eleventy/112411705420346405

cory, (edited ) to random
@cory@social.lol avatar

I wore my conf shirt today and my daughter asked what it meant. So I tried to explain and she asked if I meant Roblox and now I feel old.

cory, (edited ) to music
@cory@social.lol avatar
Zearin, to 11ty
@Zearin@mastodon.social avatar

@zachleat Suppose I wanted to run #Eleventy using its own dev server, but I also wanted to tinker with #HTMX (https://htmx.org) to learn about it.

Q1: Is this possible now?

Q2: Will this be possible in the not-too-distant future?

cory, to random
@cory@social.lol avatar

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.

chriskirknielsen, to 11ty
@chriskirknielsen@front-end.social avatar

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!)

markllobrera, to 11ty
@markllobrera@mastodon.social avatar

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:

https://www.markllobrera.com/posts/upgrading-eleventy-v1/

#11ty #eleventy

flamed, to web
@flamed@social.lol avatar

📝 New Post: Surfing The Web And Sharing What I Find

How I surf the web, manage my online bookmarks and share exciting hyperlinks with the community.

🔥 https://flamedfury.com/posts/surfing-the-web-and-sharing-what-i-find/

Zearin, to 11ty
@Zearin@mastodon.social avatar

@zachleat

Q: What are Eleventy’s states?

While trying to understand Eleventy better, I found myself wondering how I would draw a state diagram of Eleventy.

(Aside: Not a diagram I have a lot of experience creating, but I find looking at them useful!)

I know Eleventy is not implemented as a finite state machine...but is it possible to represent its states like one?

-state-machine -machine -architecture

cory, to books
@cory@social.lol avatar

Threw together a want to read page (primarily so I can reference all the books I have stored in this category as JSON in a visual fashion) https://coryd.dev/books/want-to-read

cory,
@cory@social.lol avatar

Ok dedicated now reading page too https://coryd.dev/books/

nfd, to macos
@nfd@social.lol avatar

Does anyone have any experience keeping folders synchronized on using a tool like Hazel? Thanks in advance for any advice!

My use case: I want to use for editing my website content (markdown) and sync with my website's /content directory.

Why?

-Using my Eleventy root directory as my Obsidian vault is very messy and causes slow iCloud sync.

  • I only need Obsidian for editing the /content in my website BUT vaults are only allowed in the /Obsidian iCloud Drive folder.
nfd,
@nfd@social.lol avatar

Great tip from @ctietze 🙏 https://mastodon.social/@ctietze/112293432193895079

Looks like someone has also made a Mac native UI for rsync. I'll play around and report back. https://rsyncui.netlify.app/post/rsyncuidocs/

#macOS #Obsidian #Eleventy #rsync

cory, to webdev
@cory@social.lol avatar

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).

cory, to 11ty
@cory@social.lol avatar
anders, to 11ty
@anders@thoresson.social avatar

I'm about to start using for the first time, to make the development of my new site a bit easier. Learning both and modern 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 Base Blog, in a repo I cloned using 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?

anders,
@anders@thoresson.social avatar

Hmm. I now noticed this option in the Desktop app! This seems to be what I’m looking for, right? If I fork, can I put that fork in a private repo?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • InstantRegret
  • everett
  • Youngstown
  • ngwrru68w68
  • slotface
  • rosin
  • GTA5RPClips
  • tester
  • PowerRangers
  • anitta
  • thenastyranch
  • mdbf
  • ethstaker
  • cisconetworking
  • Durango
  • vwfavf
  • normalnudes
  • tacticalgear
  • khanakhh
  • modclub
  • cubers
  • Leos
  • megavids
  • All magazines