zirk.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
Literature, philosophy, film, music, culture, politics, history, architecture: join the circus of the arts and humanities! For readers, writers, academics or anyone wanting to follow the conversation.

Administered by:

Server stats:

760
active users

#hugo

9 posts9 participants1 post today

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.

Continued thread

試了幾個主題,最後決定用 Rise 開發的 Diary 主題。因為開發者自己也寫漢字,所以這個主題對漢字支持比較好。

github.com/AmazingRise/hugo-th

只是從 GitHub 直接下載的主題有一個明顯的問題,就是網站 Title 不能正常顯示。檢查之後發現,需要把 head.html 裡面與 Title 有關的設置改成這樣:

<title>{{ if .Page.Title }}{{ .Page.Title }} - {{ end }}{{ .Site.Title }}</title>

主題默認的 <title>{{.Title}}</title> 有問題。

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

Wanting to get back to #blogging but also wanting to move my blog from wordpress to #hugo web framework seems to be a combo of too many steps that’s been stopping me from doing either.
I should probably start with the first, and move to the second only once I’ve gotten back to the groove of writing and publishing regularly regardless of the quality of the posts.

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.

I’m a wordy bastard. I really struggle with 500 characters. I’d struggle with 500 words sometimes. It's been hard to find a flow here (despite Mona's fantastic thread generator.)

I’m creating a to house longer writings and share thoughts here without requiring anyone to visit platforms so many gathered here to avoid.

I'm using instead of my usual and dipping my toes into and . I've only created the local structures, but so far, I dig it! It's too!

Hey #indeweb, anyone with experience hosting (open-sourced) personal sites with media files (images, PDF) on #Codeberg? I aim to make use of a #Hugo pipeline from Codeberg to Codeberg Pages, like from Github to Github Pages / Netlify / Vercel. I don't want to test the limits of the terms of use though. Also considering #Cloudinary, bit unsure how to manage the upload automatically.

Like many others, I post notes about my reading in my blog. Some of those notes are rather long, and some readers might stop scrolling and leave the page before noticing a book that they might find interesting. But TIL about the HTML details disclosure element. Now I have a short summary, and readers can click on the summary to reveal the entire note. Seems much cleaner to me. (And #emacs, #oxhugo, and #hugo make it very easy to do this.)

johnrakestraw.com/reading

#blogging @bookstodon

thinking out loudReadingswriting to see what I think