I’ve been meaning to write about this for a while but the tl;dr is you should specify a full ISO date in your post frontmatter unless you want all your posts to be set as midnight. #11ty
Can anyone recommend a good starter template for eleventy please? Looking for something with blogging features that is easy to setup for someone with some html and css knowledge. #11ty#eleventy
Did a first successful trying installing #11ty locally on my Mac today! I can see that I actually want to build a new personal blog using 11ty. Meaning that the next step is to configure 11ty together with a starter projects the way it is supposed to be done.
Since I'm new to not only 11ty, but also #Github, I just want to check with you:
Get Github Desktop and clone the starter repo.
Install 11ty in the same directory as I put the starter in.
Wanted to use the lite-youtube embed (https://github.com/paulirish/lite-youtube-embed) on my site to make it even faster to load, but I couldn't get it to properly embed. Tried turning off uBO, waiting a couple minutes, still no dice. Maybe I'll have to scrub through @zachleat website to figure out how to get it to play nice in #11ty haha
Right, so I wrote about deploying Eleventy site to GitHub Pages using pathPrefix property.
But since it's nothing truly creative compared to stuff I should be writing about, I followed the old stylebook of food bloggers: provide a lot of backstory everybody's going to scroll past until finally reaching the recipe.
My very first use of #11ty was this synthwave music mix site that I made during the early days of the pandemic. It is constructed entirely out of data from the YouTube API.
I wrote a blog post about my move from Netlify to Cloudflare Pages and how I use caching with GitHub Actions to speed up my Eleventy build step from over 14 minutes to just 30 seconds.
Is there webComponent or equivalent to put Codepen-like embed in a Eleventy site but with everything local, not depending on third party tools?
And I mean, as a way to demo code snippet with code and result display side by side.
But Everything would be read only, no need to allow visitors to edit, fork etc…
And I'm talking about something static generated on build and with runtine JS.
I simplified my site a lot - largely after being inspired by @cory and his "Now" page. Previously I was rendering a page for every book, show, movie, that I tracked - and it was too much to manage!
Maybe now I will actually write something every once in a while since I will hopefully be done with large overhauls :)
Is there any smart way to insert something in a specific place of an article (between paragraphs) that will be visible on a website with full content of that article, but not in RSS feed or anywhere else where the collection with that article is rendered?
Imagine I want to insert a banner ad between paragraphs (no, it's not going to be a banner ad, but the pattern is relevant).
(it would be nice not to use client-side JS for that)