Zearin, to 11ty

@zachleat Suppose I wanted to run using its own dev server, but I also wanted to tinker with (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/

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

@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/

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?

cory, to webdev
@cory@social.lol avatar

Alrighty, the full text of my posts are in my RSS feed https://feedpress.me/coryd — many thanks to @sophie for the gentle reminder 🎉

cory,
@cory@social.lol avatar
cory, to music
@cory@social.lol avatar
cory, (edited ) to javascript
@cory@social.lol avatar

Alrighty, select-pagination https://www.npmjs.com/package/@cdransf/select-pagination

It assumes you’re using a simple numeric pagination of the type /1 /2 etc.

cory,
@cory@social.lol avatar
cory, to ai
@cory@social.lol avatar

Dark Visitors has added an API to programmatically fetch and generate robots.txt files intended to block crawlers https://darkvisitors.com/docs/robots-txts-api

cory,
@cory@social.lol avatar

I guess this is the part where I see if I can write an plugin/shortcode that'll fetch it on each build.

cory, to 11ty
@cory@social.lol avatar
binarydigit, to 11ty
@binarydigit@social.lol avatar

Is there an 11ty plugin or tutorial that lets me add a featured image to a blog post?

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

I had a fun night teaching to a friend today.

It enforced my views on how amazing it is. Everything, including the configuration can be done one thing at a time and the site can be built in between each step.

Makes teaching it from scratch so much more enjoyable as there are zero "just ignore this for now, I'll explain it later" moments so many other things include as part of the scaffolding.

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

Also, the laziest possible plugin that allows me to write JSON from blob storage into static files to be leveraged by data files https://github.com/cdransf/coryd.dev/blob/bca02f1511250a706f537102282be498b01a723c/plugins/fetch-scrobbles/index.js

cory, to 11ty
@cory@social.lol avatar
falcon, to 11ty
@falcon@mastodon.social avatar

Anyone recommends an online editor for Eleventy?

Currently I use Obsidian to edit posts, but that still requires me to be on my personal computer to push to my repository

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