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

Selfhosted

61578 readers
1125 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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@monyet.cc 33 points 2 years ago (3 children)

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 2 years ago (1 children)

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 2 years 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 2 years ago (1 children)

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 2 years ago

Good to know. Thanks!

[–] ctag@lemmy.sdf.org 1 points 2 years ago

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