151

Hi,

I'm interested in setting up a small static-site-generator site. Looked at 11ty recently and feel pretty uncomfortable with the amount of javascript and "funny language" churn just to make some html happen.

Do you know of any alternative that's simpler / easier / less complicated dependencies? Or do you have an approach to 11ty that you think I should try?

Thanks in advance for any input, it's appreciated!

you are viewing a single comment's thread
view the rest of the comments
[-] pseudonym 34 points 1 month ago

I use Hugo and I've been pretty happy with it. It has a lot of layout templates you can use out of the box so you don't need to learn a new templating language unless you want to do customizations. I write blogs in markdown and it's automatically rendered and published.

[-] bahbah23@lemmy.world 14 points 1 month ago

But as soon as you do want to customize it, you're stuck learning one of the most esoteric languages that wasn't meant as a joke.

[-] ctag@lemmy.sdf.org 4 points 1 month ago

Thanks for the heads up. That feels like the same roadblock I got with 11ty. It ran OK on markdown, but one you dig into how wide the customizations go I couldn't keep up.

[-] DichotoDeezNutz@lemmy.world 6 points 1 month ago

I used Hugo for my portfolio site, and it's great if you like an existing theme, but making one from scratch is a challenge. The documentation is unclear and there's a chicken and egg problem about how to learn Hugo.

The go templating is OK, I prefer other syntax but it works.

[-] ctag@lemmy.sdf.org 2 points 1 month ago

Good to know. Thanks!

[-] ctag@lemmy.sdf.org 1 points 1 month ago

Thanks for the recommendation. I'll definitely take a look at Hugo.

this post was submitted on 28 Oct 2024
151 points (98.7% liked)

Selfhosted

40707 readers
114 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS