Second Zola Attempt
2026-01-30
Bulletpoints:
- follow tutorial
- do not use theme
- you can put image content right next to the blog post with a directory
- use super simple style.css copied from bettermotherfuckingwebsite.com put in static/style.css (referenced in templates/base.html as href="/style.css")
- do NOT use zola serve for production use, and take note that zola DOES have breaking changes in updates, and zola build WILL delete the output directory before checking if it is actually able to parse your site
- do NOT rely on zola check - at least in v0.22.0 it succeeds, but zola build fails because it couldn't find templates for taxonomy pages (that i don't actually use right now)
Might expand later.
some css i added: keep links blue, i don't like the purple except the page title that links back to the home page, i like it and think all pages should have it so when you click the logo/title you get taken to the entrypoint. the title doesn't need to be blue though (or underlined).
bold the link to the section you're currently on: a style entry for active section, and the conditionals: (sorry for ugly formatting)
<nav>
<a href="/" class="{% if current_path == '/' %}active{% endif %}">Homepage</a>
<a href="/blog/" class="{% if current_path is starting_with('/blog/') %}active{% endif %}">Blog</a>
<a href="/tutorials/" class="{% if current_path is starting_with('/tutorials/') %}active{% endif %}">Tutorials</a>
</nav>
the css for it:
nav a.active {
font-weight: bold;
}