update
This commit is contained in:
parent
915e523186
commit
303de5dc8b
2 changed files with 16 additions and 3 deletions
11
config.yml
Normal file
11
config.yml
Normal 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
|
8
justfile
8
justfile
|
@ -3,10 +3,12 @@ build:
|
||||||
serve:
|
serve:
|
||||||
@just run build
|
@just run build
|
||||||
@just run serve
|
@just run serve
|
||||||
run arg:
|
|
||||||
|
set positional-arguments := true
|
||||||
|
run *args:
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ -d "public" ] && [ "{{arg}}" = "build" ]; then
|
if [ -d "public" ] && [ "$1" = "build" ]; then
|
||||||
rm -r public
|
rm -r public
|
||||||
fi
|
fi
|
||||||
uv run --project ~/dev/zona-py zona {{arg}}
|
uv run --project ~/dev/zona-py zona "$@"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue