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

Selfhosted

40303 readers
314 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 1 year 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
[–] variants@possumpat.io 4 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

Have you checked out grav https://learn.getgrav.org/17/basics/what-is-grav

https://github.com/getgrav/grav

I use it just to make simple markdown sites for info like my gaming servers or if I feel like making a random blog post

[–] dudenas 4 points 3 weeks ago (1 children)

Technically Grav is not a static site generator, it is just a flat file cms. It means there is no need to generate all the files of website and upload them to server each time you write a post. I have no idea why people like static sites for blogging.

[–] sik0fewl@lemmy.ca 2 points 3 weeks ago

Use rsync and only upload the files that have changed.

[–] exu@feditown.com 3 points 3 weeks ago

As the sibling comment says, not a static site generator. If you want to customize pretty much anything about the layout or theming you still need to use Twig, CSS and if you're unlucky JS.

[–] ctag@lemmy.sdf.org 2 points 3 weeks ago

Thanks for the recommendation. I actually did look at grav a while back, but I can't recall why I moved on. Will give it another pass.