From 303de5dc8b2e1ff0fa58fc6df3b0d79ff8533e99 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sun, 22 Jun 2025 15:45:59 -0400 Subject: [PATCH] update --- config.yml | 11 +++++++++++ justfile | 8 +++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 config.yml diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..7c29559 --- /dev/null +++ b/config.yml @@ -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 diff --git a/justfile b/justfile index 0687ad0..5f8b280 100644 --- a/justfile +++ b/justfile @@ -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 "$@"