ascherbaum, to Blog
@ascherbaum@mastodon.social avatar
Seirdy,
@Seirdy@pleroma.envs.net avatar

@ascherbaum Ah, that makes sense. I trigger a rebuild every time I approve new comments.

ascherbaum,
@ascherbaum@mastodon.social avatar

@Seirdy Honestly? Sounds complicated. Plus I need to be aware of any comments, only then they show up. So far Mastodon is friendly, and I just implemented the block list for when I need it. I rather have open discussions and don't need to rebuild it every time.

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.

holgerschurig, (edited )

@andyc The last time I tried it, Hugo's org support was quite lacking.

remixtures, to webdev Portuguese
@remixtures@tldr.nettime.org avatar

: “If you’ve ever wondered how a website works and whether or not you could build your own, this book is for you. The Static Site Guide walks you through the process of building a website from scratch by using hands-on examples. You’ll learn what a website is and how some of the most popular website technology works. By the time you reach the end, you’ll have built your very own website, and you’ll know how to do it again on your own.” https://www.staticguide.org/

lsn, to random
@lsn@fedi.libresolutions.network avatar
mblayman, to django
@mblayman@mastodon.social avatar

🔨 Want to see how to integrate a static site inside of a app without using a reverse proxy like Nginx or a separate subdomain? Check this out! https://www.mattlayman.com/blog/2020/hugo-blog-in-django-app/

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.

Strombo,
@Strombo@jawns.club avatar

@skyfaller Terrible question, but it must be asked.

Is the effort to install, teach and maintain a CMS greater than the effort for you to make the client's updates yourself?

Or is that just out of the question?

I am biased, never met a CMS I liked. Some of the static generators are not bad though.

skyfaller,
@skyfaller@jawns.club avatar

@Strombo It is not greater than the effort to update one client's site, but if I want to scale this as a business, I can't do everything myself.

Also TMI but I have mental health issues where I go thru periods of being unavailable / unable to work on various tasks, and clients should be able to update their websites when I cannot.

Finally, if I can solve this, I could help static sites become more popular, which could help reduce the environmental impact of the Web. https://solar.lowtechmagazine.com/about/the-solar-website/

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

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.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@e11bits edn is amazing :)

e11bits,
@e11bits@fosstodon.org avatar

@mykhaylo I bet 😄

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?

dotproto,
@dotproto@toot.cafe avatar
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.
#Codeberg #Git #Howto #Hugo #Tools

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

penryu,
@penryu@hachyderm.io avatar

@potatomeow I was happy with cryogen (clojure) for a long time, but Hugo reminded me how fast the process should be.

But I stayed with cryogen a for a while, waiting for Zola (the rust static site generator, not the wedding site) to be good enough.

Hugo or Zola are good choices imo

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 !

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.

darth,
@darth@silversword.online avatar

@penguingeek oh shit, did you type this document or? I will study this in a few hours when I finish my work for today. :ablobcatheart: thanks

darth,
@darth@silversword.online avatar

@gerrykelly @gohugoio hmm, this is intriguing. Thank you!

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