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!

  • pseudonym@monyet.cc
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 day 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.

    • rutrum@lm.paradisus.day
      link
      fedilink
      English
      arrow-up
      2
      ·
      18 hours ago

      I used Zola for a while, but at the end of the day there wasnt enough themes available that fit what I was looking for. I ended up messing with the templating engine to get what I needed.

      I suggest OP choose Hugo over Zola, in the hopes that they find a theme that suits them best and for the most part prevents them from having to touch templating to begin with.

  • Saiwal@hub.utsukta.org
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    I found pelican to be quite simple to start with and depending on how deep you want to go it can be quite customizable. Being proficient in python helps.

  • youmaynotknow@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    I’m looking for something similar that I can host in blue host, but all there is, apparently, is WordPress (hell no), joomla and drupal, and these are certainly not static.

    • ctag@lemmy.sdf.orgOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      That’s like the OG crew of web content haha. I used to be pretty big on Wordpress, but then two of my sites got compromised (through a plugin probably?), and of course the recent kerfluffle going on.

  • ctag@lemmy.sdf.orgOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    I did try setting up 11ty, despite my misgivings over node.js. Using Markdown went OK, except it wouldn’t render explicit <img> tag parameters to allow me to do one-off formatting.

    • shnizmuffin@lemmy.inbutts.lol
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      What templating languages do you know already, and are you running 11ty v3? There are some gotchas around images because (I think) the eleventy-image plugin is enabled by default.

      I’ve found success running with .webc which is effectively HTML until you need it to be more.

      • ctag@lemmy.sdf.orgOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Thank you for the advice! I’ll give webc a look before I check out the alternative platforms.

        I don’t know or really want to learn anything other than html/css or markdown. The site I’m trying to migrate was raw html/css, and I liked it well enough even though the shortcomings (and argument for template stuff) is very obvious.

  • Morethanevil@lemmy.fedifriends.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    Use Publii, it has a WYSIWYG editor, a block editor and a markdown editor. It creates the files on your PC and can upload it to your server. Just point your webserver to the uploaded folder.

    Very beginner friendly ☝🏻

    • ctag@lemmy.sdf.orgOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day 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.

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day 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.

    • dudenas@slrpnk.net
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      1 day ago

      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.

  • arsCynic@slrpnk.net
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    23 hours ago

    Codeberg Pages if you don’t mind a give-or-take weekly 30 min downtime. GitHub Pages if you do. GitLab Pages if you have a creditcard which they require to verify your identity.