this post was submitted on 05 Mar 2024
17 points (100.0% liked)

Programming

420 readers
10 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

I want something that is:

  • SSG (static site output)
  • looks nice
  • is a template I can use out of the box by just dropping in my content and configurations, rather than designing or building myself
  • is not feature-poor. I want it to have features like footnotes, jump-to-section links, citations, on-hover pop-ups for citations or footnotes, syntax highlighting for code blocks, etc.
  • nice to have: ability to draw basic graphs or diagrams (helps in technical explanations)
  • is not too difficult to customize by editing the code directly, Customizing the looks, structure, or adding functionality if I needed

Programming language doesn't matter much. I can use whatever. I do have a preference for functional languages.

Eleventy seems like a great framework to do this, but as I said I want a template that's ready out of the box not just a framework. The blogging template I found for eleventy does not look as nice as I hope.

top 9 comments
sorted by: hot top controversial new old
[–] jadero@programming.dev 5 points 6 months ago (1 children)

I'm basically a doofus when it comes to web. I had no trouble using Zola as the generator with Abridge and Terminimal as themes.

[–] SpeakinTelnet@programming.dev 3 points 6 months ago* (last edited 6 months ago) (1 children)

+1... Started using Zola and built on top of it to learn scss, javascript, and HTML. All that extra building was not required for a running site but was still a great learning experience.

[–] TehPers 3 points 6 months ago

I also enjoyed Zola. Ended up switching off of it, but I think it's a great way to directly jump into writing content. The only reason I switched off was because I wanted more control than it would provide, but for most cases, I think it's completely fine.

[–] t0fr@lemmy.ca 3 points 6 months ago (1 children)
[–] matcha_addict@lemy.lol 1 points 6 months ago (1 children)

The review I read about Hugo is that it is not very easy to customize client side code (html / js). Do you find this to be the case?

[–] t0fr@lemmy.ca 1 points 6 months ago

Honestly couldn't really tell you. I haven't used it but I was thinking about it.

[–] TehPers 2 points 6 months ago

Framework-wise, I really like Astro. They have some themes you can explore here.

I'm not sure if any themes support charts, graphs, and diagrams out of the box, but they use remark and rehype to convert markdown to html, so you could look for a rehype plugin to do it and add it to your config if you want. For example, you could try using rehype-mermaid to generate diagrams using mermaid.

[–] shnizmuffin@lemmy.inbutts.lol 1 points 6 months ago* (last edited 6 months ago)

11ty + a classless CSS stylesheet might get you extremely close.

Edit: spelling, hyperlinks.

[–] Hawk@lemmynsfw.com 1 points 6 months ago

Use Quartz and Obsidian because it’s easy. If not mcdocs.