toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

334
active users

#hugo

4 posts4 participants0 posts today

I think I shouldn't hide my poems anymore. I have farooqkz.com domain now. I think I will do a static website at poetry.farooqkz.com with hugo. Then with a custom theme and perhaps some Javascript, I will give each poem a hash and name the poem after the last 2-3 hexadecimal digits of the poem.

I wonder if I can do the hashnaming with hugo alone and without using JS. Also the website must have 3 languages. However all websites I've done with hugo till now are mono.

BTW, Do you think it should be "Programmer Poet" or "Poet Programmer"? For someone like me who generates both code and poems

#poetry#poem#poet

🙃 Fun fact about hugo ( static site builder ) if a date is in the future on a post then hugo will silently ignore and not build that page

Just wasted a crazy amount of time on this because windows thought I lived in the greenland for some reason

Anyway if you need to update wsl clocks you can use ntpdate to get back on track

#dev#foss#software

Besides doing way too long of a run (oh the aches 🏃), I spent the weekend converting a #Hugo blog into #11ty: geekometric.com

Nested pagination? Nailed it. 💅 (blog post…?)
Trying out VentoJS (via a neat plugin), too. Couple rough edges, but it's really nice to just throw JS in there instead a bunch of one-off filters. Using it for nearly everything.

Not the easiest thing to move over but honestly happy with the result (but not happy with the `*checks notes*` decade-old Sass and JS).

GeekometricGeekometricEncore un blog de geek sur les jeux vidéo, le cinéma et la musique
It's been almost two years since I migrated my personal site from Jekyll to #Hugo. Still love having a single binary with zero overhead. I used to spend as much time writing as I did fixing broken configs. If you’re setting up a static site, I can't recommend Hugo enough.

Anyone familiar with #Hugo enough to tell me if I can get it to just make me a static site without any extra features? No blogging, no "featured" pages or whatever. I just want to stick a bunch of markdown files into a directory structure and have them rendered into HTML.

You know, the thing I did in 30 lines of C#, but with proper linking between pages. Heheh.

I'm looking for a new comment system for my #Hugo blog, and I'm not seeing any clearly great options.

I've been using #Commento for #comments on my blog for a few years now, and it's about time to switch comment systems.

Commento has been effectively unmaintained for 4 years (see gitlab.com/commento/commento). Their (paid) hosted version has been continuing to work, but I've seen increasing numbers of errors lately, so it's time to move.

I'd really *love* something that could integrate semi-natively with #activitypub so new blog posts could show up in Mastodon and Mastodon replies would show up as comments, *but* I don't want to require a fediverse account for commenters; that rules out most (all?) of the embedded-Mastodon comment options.. After looking through Hugo's somewhat-outdated list of commenting options (gohugo.io/content-management/c), it looks like #Discourse is the only option that even *slightly* fits that, and it's a lot heavier-weight than I really want to run today. Hours-of-maintenance-per-comment should be less than 1, thanks.

Basic requirements:

- Either easy to self-host or has a cheap hosted option.
- Allows anonymous comments plus common external auth options.
- Possible to import comments from Commento, possibly requiring code on my part, but it needs to allow arbitrary names, etc.
- Works with static sites.
- Not a privacy disaster
- If self-hosted, ideally written in something sane -- Go, Rust, etc. *Ideally* it's a single binary that listens to HTTP and stores comments in Postgres.
- Supports Markdown.

Does anyone have anything that they're really happy with?

GitLabCommento / Commento · GitLabCommento is a fast, privacy-focused commenting platform

Hey #FediHelp

I am using quarto in different python projects.

I am using a different python environment for each of my projects.
And per project I am rendering them as HTML files.

How can I make a blog to aggregate my HTML files ?
Like one blog post per project ?

I would like to create a portfolio and I my open to alternatives to quarto

Thanks

I was recently having a conversation about "Mastodon hug of death" and how the type of site (static vs dynamic), caching, and page size all play a role in handling traffic. While I never expect to have to mitigate against that scenario, I wanted to take a look at my page size and my most recent post was 5.7 MB. That's pretty chonky, especially as I'm planning to self-host the site!!
That was enough motivation to finally just make a Hugo shortcode to insert images as resized figures (with full size images linked). That reduced my page size to 450 KB, a 12x reduction! That's the TL;DR, but here's the TL;PR.

shom.dev · Slimming the site slightlyI was looking into how Caddy serves pre-compressed files (html/css/js), it’s pretty straightforward, I just need to generate the compressed files after Hugo builds the site. However, that is small fraction of the total payload since a lot of my posts have images. So I’m tackling that first.