stvfrnzl, to webdev
@stvfrnzl@mastodon.online avatar

I finally got for @astro working! Thanks to @henry sparking my interest for it (again) and anyone here who helped me along the way.

https://stevefrenzel.dev/posts/webmentions-in-astro-for-blog-posts/

I would appreciate lots of likes, reposts and comments so I have more data to work with hehe
😈

denis, to ruby
@denis@ruby.social avatar
ben, to fediverse
@ben@mastodon.bentasker.co.uk avatar

New : Adding a Fediverse Comments Box to a Site

This documentation details adding mastodon-post (by @DavidDarnes) into a static site generated by the Nikola in order to link back to discussion in the

https://www.bentasker.co.uk/posts/documentation/general/embedding-a-mastodon-comments-box-in-a-nikola-site-template.html

erock, to Blog
@erock@fosstodon.org avatar

https://pico.sh now has blog and site analytics!

weirdwriter, to 11ty

Making a getting started guide for screen reader users that want to try a Static Site Generator and I was sad to discover that 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

teleclimber, to node
@teleclimber@social.tchncs.de avatar

Blog post: progress update for February (yes, it's a bit late 😬)

Stuff about Dropserver app, submitting a patch to to help it run in with limited permissions, and more.

https://olivierforget.net/blog/2024/dropserver-progress-february-2024/

BryceWrayTX, to webdev
@BryceWrayTX@fosstodon.org avatar

Post >> Using Lightning CSS with Hugo: back to the workaround • Why a clear separation between dev mode and prod mode made sense.

https://www.brycewray.com/posts/2024/02/using-lightning-css-hugo-back-workaround/

stvfrnzl, to Astro
@stvfrnzl@mastodon.online avatar

To whoever it my concern: I just updated my @astro starter template to the latest version.

Also changed the pre-commit hook so it not only runs "astro check" before commiting but also builds the project.

https://astro-naut-template.vercel.app/

lebochequirit, to webdev German
@lebochequirit@social.tchncs.de avatar

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?

andreagrandi, to Blog

Does anyone know how to change the image being rendered in social media from a post generated with ?

I often include a few pictures in the post and I would like to be able to have one of them shown in the preview.

Instead, my profile picture (the one you also see here on my Mastodon profile) is always shown.

Maybe @justin knows?

paulox,
@paulox@fosstodon.org avatar

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

BryceWrayTX, to webdev
@BryceWrayTX@fosstodon.org avatar

(Restoring an earlier item that I briefly removed when I encountered, and subsequently fixed, a local glitch...)

Post >> Using Lightning CSS with Hugo — without workarounds • With a little tinkering, there’s no need for that PostCSS plugin I recently mentioned.

https://www.brycewray.com/posts/2024/02/using-lightning-css-hugo-without-workarounds/

jlsksr, to webdev German
@jlsksr@mastodon.online avatar

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!

jlsksr,
@jlsksr@mastodon.online avatar

@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. 😉

sass, to webdev
@sass@mastodon.social avatar

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

1/x

sass,
@sass@mastodon.social avatar

More recently, I've implemented (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.

2/x

plaindocs, to random
@plaindocs@chaos.social avatar

So I was reading a headline about the Hugo awards, and I thought "ok, but what about the other static site generators"...

I need some time off I guess. Lucky that.

elb, to random
@elb@social.sdf.org avatar

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 what the simplest solution to replacing this with a static site generator 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?

BryceWrayTX, to CSS
@BryceWrayTX@fosstodon.org avatar

New post >> Using Lightning CSS with Hugo • Does Hugo natively support Lightning CSS? No, but there’s a neat workaround for that.

https://www.brycewray.com/posts/2024/01/using-lightning-css-hugo/

flpvsk, to webdev
@flpvsk@mastodon.social avatar

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

denis, to random
@denis@ruby.social avatar

With Bear (https://bear.app) supporting custom note metadata now, I can assign slugs to my notes.

This gives the (public) notes on my web site much nicer URLs!

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

What are some methods for estimating how many people have signed up for your RSS?

jbzfn, to opensource
@jbzfn@mastodon.social avatar

📝 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 」

https://arne.me/articles/write-your-own-ssg

h30x, to random French
@h30x@mastodon.zaclys.com avatar

Je suis à la recherche d'une manière d'intégrer un agenda à un site web, mais j'ai pas mal d'exigences :

  • l'outil doit pouvoir gérer un agenda 'statique' dans plusieurs formats :
  • page html "calendrier" statique avec des cases et des liens cliquables pour les événements
  • page html "liste" statique avec une liste de jour et la liste d'événements par jour
  • fichier ics / caldav statique permettant la synchronization dans les applis d'agenda (nextcloud et autre)

(1/2)

h30x,
@h30x@mastodon.zaclys.com avatar

J'avais déjà fait quelque chose de similaire avec le à Paris : https://su-agenda-militant.gitlab.io/
Mais c'est assez rudimentaire et Hugo est un peu une usine à gaz.

Si je ne trouve pas mon bonheur, je risque de développer un outil custom en avec comme moteur de template. Mais ça me prendrait pas mal de temps.

yuliyan, to Blog
@yuliyan@nahe.social avatar

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?

Features I am looking for:

  • as little dependencies as possible
  • markdown compatibility (duh)
  • fully customizable css
  • rss support
  • sanity

darkcisum, to markdown
@darkcisum@swiss.social avatar

Last week I played around a bit with for a side project and loved every bit of it! Especially @squidfunk's Material for MkDocs was such a great resource ❤️

I wrote a few words on how I went about setting everything up: https://duerrenberger.dev/blog/2023/10/24/static-site-generation-from-markdown-with-mkdocs/

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