This commit is contained in:
Daniel Fichtinger 2025-06-22 15:45:59 -04:00
parent 915e523186
commit 303de5dc8b
2 changed files with 16 additions and 3 deletions

11
config.yml Normal file
View file

@ -0,0 +1,11 @@
title: Zona Blog
base_url: https://example.com
language: en
markdown:
image_labels: true
theme:
name: default
syntax_highlighting: true
build:
clean_output_dir: true
include_drafts: false

View file

@ -3,10 +3,12 @@ build:
serve:
@just run build
@just run serve
run arg:
set positional-arguments := true
run *args:
#!/bin/sh
if [ -d "public" ] && [ "{{arg}}" = "build" ]; then
if [ -d "public" ] && [ "$1" = "build" ]; then
rm -r public
fi
uv run --project ~/dev/zona-py zona {{arg}}
uv run --project ~/dev/zona-py zona "$@"