This documentation details adding mastodon-post (by @DavidDarnes) into a static site generated by the Nikola #ssg in order to link back to discussion in the #fediverse
Making a getting started guide for screen reader users that want to try a Static Site Generator and I was sad to discover that #11ty is not in any Windows package manager I can find. If this isn’t correct let me know so I can get this right. For now, looks like the guide will be for Hugo #GoHugo#Hugo#SSG#StaticSiteGenerator
Hat irgendjemand von Euch eine Website mit Hugo, Jekyll oder einem anderen SSG mit einem Kontaktformular, das Daten nicht an Drittanbieter ausleitet? Wie habt Ihr das gebaut? Und wie sichert ihr es ohne Google Captcha gegen Spam? #Hugo#ssg#html#webdevelopment
@hamatti@andreagrandi it's exactly that. ☝️
I added Open Graph metadata in my Pelican-based blog, and now different images show up in preview card when I share URLs ✨
You can read the HTML code from my home page as an example: 👇 https://www.paulox.net/
Tonight I migrated the "staging environment" of my little, static website to another VPS and upgraded from ruby2/jekyll3 to ruby3/jekyll4.. It wasn't too much of a hassle and I really like using jekyll, but it still feels like it's too many moving parts and shit like ~400 MB ruby for the purpose of a simple website.. That search for the "perfect" solution isn't over I guess.. Any recommandations fediverse? Good night! #jekyll#ssg#static_site_generator#webdev
@kev Thanks for your recommendations Kev, but I'm rather thinking of something like bashblog (https://github.com/cfenollosa/bashblog) or these 68 lines of Perl code: http://cyber.dabamos.de/programming/perl/#ssg 😅 Looking for something in between these two worlds for years now.. and of cause tried to roll my own along the way. But I'll stay positive; that decade-long hunt for a personal knowledge base solution finally ended happy, too. Or so I guess. 😉
I've wanted to revamp my site’s Search capability for a while now. Up until recently, I've used super-search.js which came bundled with the #Jekyll theme I chose years ago. It’s fast but only seems to index a small portion of each page so if I want to search full-text in longer-bodied posts I was out of luck (I tried tweaking it but was unsuccessful, which isn't to say it can't be done by a more competent / patient tinkerer). #indieweb#webdev#IndieWebChat#ssg
More recently, I've implemented #lunrjs (https://lunrjs.com) which was pretty easy to get set up in my dev environment. It indexes pages by individual search terms so is not as strong at searching for phrases (multiple words) as super-search was, but for what I often need to search for, this is a compromise I’m willing to take in order to get full-text search of everything on the site.
I have an otherwise completely static site that is assembled out of parts using Apache mod_include. There's no run-time logic to the assembly, it could all be pre-generated without any effect.
So I'd like to #askfedi what the simplest solution to replacing this with a static site generator #SSG is. Everything I'm finding is either a billion lines of javascript (eleventy, astro, etc.) or rather opinionated (hugo, jekyll), as far as I can tell. Is there a simpler preprocessor out there?
HTML purists:
> Look, HTML is great and has everything you need. You don't need no filthy javascript to create a website!
Also HTML purists quietly:
> What you do need is custom half-baked languages / syntax and a bunch of string manipulation tools. Here's an upper-lip-hair library.
> Oh you'd also need a bunch of hidden JS to manage data, templates, dependencies, images. Btw it has no API you can hook up to.
> You didn't actually think we'd force you to write HTML, did you!?
📝 Why You Should Write Your Own Static Site Generator
➥ @arne
「 When Vercel released Next.js 14 recently, some friends I've talked to where still on Next.js 12 and really felt the pressure to upgrade to not fall behind even more. This made me think about the longevity and robustness of my website and so I decided I don't want to depend on other people's decisions and run after version upgrades I don't care about 」
Si je ne trouve pas mon bonheur, je risque de développer un outil custom en #Rust avec #Tera comme moteur de template. Mais ça me prendrait pas mal de temps.
I need to upgrade my static site since I have a bunch of articles to post and just hit the limit of maintainable complexity. Which static site generators do you recommend to someone new to the concept? Why?
Last week I played around a bit with #mkdocs for a side project and loved every bit of it! Especially @squidfunk's Material for MkDocs was such a great resource ❤️