ascherbaum, to Blog
@ascherbaum@mastodon.social avatar
andyc, to emacs
@andyc@mastodon.org.uk avatar

My never ending research into orgroam is still ongoing.

But the need, not just for everywhere, but everywhere posed the obvious question - why use Markdown for your Hugo blog?

Turns out supports native orgmode posts which can coexist with the existing Markdown content.

A test post confirmed this but only after I had to upgrade the Papermod theme and tweak the Netlify configuration for the latest Hugo version.

lsn, to random
@lsn@fedi.libresolutions.network avatar
skyfaller, (edited ) to random
@skyfaller@jawns.club avatar

We're back to my recurring nightmare of making it easy for a non-technical client to edit a static website generated using .

Are there any good solutions? Or am I going to end up writing my own solution after many painful hours with other people's janky solutions?

If you know of a non-technical user successfully editing a static website, how are they doing it?

EDIT: I'll only use open source solutions I can self-host, but happy to hear about proprietary options.

weirdwriter, to RSS

Spent a week trying to improve the RSS on my new test Hugo site, because the one they give you is second class, and I had no luck. I broke it 3 times, made it worse twice, somehow erased it completely, so I finally thought hey there's far better nerds than me out there so I looked around, found this, and forked it! https://gist.github.com/LorenDB/2faa2bb78885806c8d4c914d01130e1e

e11bits, to rust
@e11bits@fosstodon.org avatar

Want to change a file with structured data from json, yaml or toml to any of those formats? E.g. a config file from toml to yaml?

I think one of the easiest way to do this is using the tool convfmt.

If you have installed, installing convfmt is just as quick as:

cargo install convfmt

After that the transformation from toml to yaml is just this:

convfmt -f toml -t yaml < hugo.toml > hugo.yaml

Helps if you start from an example project with an hugo.toml config.

jackgilmore, to webdev

As I delve into yet another data analytics project, I'm wondering what static site generators folks are using these days?

#webdev #staticsite #jekyll #hugo #11ty

potatomeow, to javascript
@potatomeow@fosstodon.org avatar

trying out atm, i have a feeling that this framework might be more suitable for me than Astrojs from since i only care for writing contents in markdown...

hl, to emacs
@hl@social.lol avatar

If you use and to write your posts, it took me a minute to understand how to use HTML quoting to get things like details/summary tags working, but others might find that useful too:
https://www.henryleach.com/2024/04/adding-details/summary-to-hugo-org-mode-posts

mapache, to fediverse
@mapache@hachyderm.io avatar

Part 6 of "A Guide to Implementing ActivityPub in a Static Site (or Any Website)" is now out.

Sorry about the delay, this is the part that not many people will like, I assume. I try to explain how to implement the inbox, which by nature is dynamic non-static.

Full article here:
https://maho.dev/2024/04/a-guide-to-implementing-activitypub-in-a-static-site-or-any-website-part-6/

If you like it don't forget to follow the @blog !

#fediverse #activitypub #staticsites #hugo #azure #mastodon #webdevelopment #socialweb #webfinger #http #dotnet

darth, to webdev
@darth@silversword.online avatar

I need advice or a hint from @gohugoio users. I want to make a fairly simple static webpage for a small restaurant, but the complex part is that they need to be able to edit this week’s menu. If I were the one editing the menu, that would be a no-brainer: SSH into my dev machine, edit the MD file, and do a simple git push. However, I need to make it simple for them, the restaurant staff. Please ping me if you have ideas.

weirdwriter, to SmallWeb

I made a guide to Static site generators for screen reader users. If you like it, share it but donate to me, as this took a very long time to write and break down https://robertkingett.com/posts/6529/ Also tagging @NVAccess in case they'd wanna look or share it.

boulesdefourrure, to random French
@boulesdefourrure@piaille.fr avatar

Wow wow wow @Bouletcorp et @ZachWeinersmith congrats for the 2024 Hugo nomination !
https://glasgow2024.org/hugo-awards/2024-hugo-award-finalists/

eclecticpassions, to Bash
@eclecticpassions@fosstodon.org avatar

New post on my Hugo blog! It's about using a script to help load weather data faster in , via wttr.in.

https://www.burgeonlab.com/posts/2024/speed-up-loading-times-wttr-neofetch/

Credit to @adamsdesk for sharing his original script on his blog. https://www.adamsdesk.com/posts/neofetch-weather-data-caching/


lffontenelle, to mastodon
@lffontenelle@mastodon.social avatar

Dear folks,

I fancy using as a comment system for my blog but the solutions I found were made for . How bad would it be if I reused them in my blog?

Example:

https://github.com/dpecos/mastodon-comments

🙏 :ivory_boost:

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

henrikjernevad, to programming
@henrikjernevad@mastodon.social avatar

Since I've gotten exactly one webmention for my blog, I obviously had to put some work in to display this webmention on my blog. 😄 Had to do some reading to figure out how to make Hugo download external resources, but otherwise it was pretty smooth sailing. Much thanks to https://webmention.io/. Still not implemented sending webmentions yet though.

ascherbaum, to markdown
@ascherbaum@mastodon.social avatar

Check your postings for a number of common problems and issues before publishing a post.

Each part is configurable. Probably works with tools like too. Works standalone, or as pre-commit check. And comes with a suite of tests if you want to add new checks.

https://github.com/andreasscherbaum/check-markdown-files

mapache, to Blog
@mapache@hachyderm.io avatar

Keeping things simple helps me to focus my time and resources. One of such features is the "Subscribe" modal on my site.

This is a quick note about how you can implement it too:
https://maho.dev/2024/03/implementing-subscribing-to-your-site-feature-with-mastodon/fediverse-accounts/

revoluciana, to privacy
@revoluciana@chaosfem.tw avatar

Best options for simple that are -focused?

Use: personal with modest traffic made with , paired with

cjoly, to random
@cjoly@fosstodon.org avatar

Just discovered this very cool feature: Fast Render Mode. It is enabled by default: when you run hugo serve, hugo maintains a list of pages opened or recently navigated to and renders only those pages!

With my site, incremental builds go from about 50ms when the feature is disabled (fast already) to about 15ms 🔥 !

It was introduced back in 2017: https://hugo-docs.netlify.app/en/news/0.30-relnotes/ and improved in subsequent releases, like https://v0-112-0--gohugoio.netlify.app/news/0.50-relnotes/

ascherbaum, to markdown
@ascherbaum@mastodon.social avatar

Blockquotes in Hugo

Hugo uses Markdown to create the content, which is then parsed into static HTML. One of the features of Markdown are quotes. Multiline quotes (block quotes) are possible, but they are not very intuitive.

https://andreas.scherbaum.la/post/2024-03-01_blockquotes-in-hugo/

Taffer, to HowTo
@Taffer@mastodon.gamedev.place avatar

New post - Hashtags Hugo https://taffer.ca/posts/2024/hashtags-hugo/

If this works, I figured out how to add a post’s tags to the RSS feed’s <description> block.

binarydigit, to github
@binarydigit@social.lol avatar

Moving my Hugo Website to Neocities and Deploying with GitHub Actions

https://binarydigit.cafe/notes/neocities-github-actions/

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