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.

cschrader,
@cschrader@jawns.club avatar

@skyfaller I have thought about this in the past. I know there are CMSses designed to work with static sites, like this one for , though I’ve never evaluated any.

There’s got to be something similar for
, though cost may be a concern if it’s an enterprise focused tool.

https://www.siteleaf.com/

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

geordie, to random
@geordie@aus.social avatar

Can anyone give me pointers as to why embedding PDFs or linking to them or otherwise acknowledging their existence is impossible in Hugo?

geordie,
@geordie@aus.social avatar

docs state that the "root" of your resultant website is /static, and anything in there can be referenced as the root, and they're lying, and I'll set them on fire in front of their families.

webology, to random
@webology@mastodon.social avatar

🎒 Everyone struggles with Django's static files: https://micro.webology.dev/2024/04/30/everyone-struggles-with.html

e11bits,
@e11bits@fosstodon.org avatar

@webology Using the last couple of days I asked myself what the difference is between the assets and static folder? And I wasn't the first. So assets hosts files that can/must be processed and static contains files that are used as is. For I think it is more obvious what the purpose of those two directories are by naming them static/src and static/public as suggested by @josh.

mblayman, to random
@mblayman@mastodon.social avatar

💡 My personal website used to run with a static site generator that I created on my own. Even though I had a fully customized site generator, I switched to . This article explains why I would do such a thing. https://www.mattlayman.com/blog/2018/tale-two-site-generators/

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
@jackgilmore@mstdn.social avatar

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

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

New post - Auto-deploy: Hugo and Codeberg CI https://taffer.ca/posts/2024/hugo-ci/

A description of how I’ve set up Codeberg’s CI to automatically build and deploy changes to my website.

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

foolishowl, to random
@foolishowl@social.coop avatar

I was looking at some discussion of static site generators and whether one could be used for blogs since it was designed for documentation.

FFS. A blog is just text with a date at the top, and optionally hyperlinks to whatever you're talking about. Bonus points for an index of titles and dates.

I keep thinking that all the crap we've layered on top of web pages is hostile and anti-democratic, that it's all gatekeeping, that the original point was to make it easy to publish text and share it.

jonobie,
@jonobie@social.coop avatar

@foolishowl That’s so odd - even a cursory look at something like / reveals a ton of themes that are for documentation OR blogs. (I found fewer themes for SSG for small service-oriented businesses, which surprised me because it seems so obviously suited for that niche.)

Agree about your hostile comment tho. A lot out there is way more complex than it needs to be.

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 !

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

ascherbaum, to random
@ascherbaum@mastodon.social avatar

My list of talks is a data template for a while now. That's now enriched with metadata, especially coordinates. And the website got a map showing all the locations.

https://andreas.scherbaum.la/writings/

dantleech, (edited ) to random
@dantleech@fosstodon.org avatar

why would you have a static site generator with a readFile function that ignores files that don't exist? is there a way to make panic?

milosz, to random
@milosz@adventurousbeastie.eu avatar

Light or dark, dark or light, I spy with me one good eye that both themes be stayin’, arrr!

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/

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