1
0
Fork
You've already forked website
0
No description
  • HTML 54.8%
  • Python 31%
  • CSS 14.2%
2025年10月05日 09:43:36 -04:00
content Revert "Added vcard" 2025年10月05日 09:43:36 -04:00
scripts First commit 2025年09月15日 13:16:45 -04:00
static Revert "Added vcard" 2025年10月05日 09:43:36 -04:00
templates Revert "Added vcard" 2025年10月05日 09:43:36 -04:00
.gitignore Initial commit 2024年11月08日 19:55:44 +00:00
config.toml Tweaks 2025年09月20日 10:16:51 -04:00
LICENSE Initial commit 2024年11月08日 19:55:44 +00:00
README.md First commit 2025年09月15日 13:16:45 -04:00
requirements.txt First commit 2025年09月15日 13:16:45 -04:00

JL Blog (Zola)

Minimal, responsive blog powered by Zola. Auto light/dark via prefers-color-scheme.

Commands

  • Serve locally: zola serve
  • Build for production: zola build

Update base_url in config.toml before deploying.

Structure

  • content/_index.md: Home
  • content/about.md, content/contact.md: Pages
  • content/blog/: Blog section and posts
  • templates/: Tera templates
  • static/styles.css: Styles

Importing posts (from jluther.net)

Use the helper script to pull posts from the jluther.net Atom feed and save each as a Markdown file under content/blog/ with Zola front matter.

Setup:

# (optional) create & activate a venv
python3 -m venv .venv
source .venv/bin/activate
# install deps
pip install -r requirements.txt

Dry run:

python scripts/import_from_feed.py --dry-run

Import (writes files):

python scripts/import_from_feed.py --dest content/blog --feed https://www.jluther.net/feed.xml

Options:

  • --overwrite to replace existing .md files with the same slug
  • --dest to change the output directory (default: content/blog)
  • --feed to use a different feed URL