From 58d91e5207b238dd3d194b0e29e9400b091cf36d Mon Sep 17 00:00:00 2001 From: milovann Date: Sat, 7 Dec 2024 15:48:05 +0100 Subject: [PATCH] up --- pages/index.md | 2 +- scripts/web.sh | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/index.md b/pages/index.md index 0693216..3d14f28 100644 --- a/pages/index.md +++ b/pages/index.md @@ -1,6 +1,6 @@ --- title: 'Forgeons !' -document-css: 'templates/default.css' +lang: 'fr' --- ## Un groupe de travail consacré à la forge libre et *open source* [Forgejo](https://forgejo.org). diff --git a/scripts/web.sh b/scripts/web.sh index 8f73bd5..7c7af60 100755 --- a/scripts/web.sh +++ b/scripts/web.sh @@ -12,8 +12,9 @@ convert() echo "making $filename.html" pandoc \ -s \ + --verbose \ --template=templates/default.html \ - --css=templates/default.css \ + --css=default.css \ ../pages/$filename.md \ -t html > ../dist/$filename.html \ --lua-filter=links-to-html.lua @@ -30,6 +31,10 @@ batch() done } +# Linked files +cp templates/default.css ../dist + +# Options case $1 in convert) shift 1; convert "$@";; batch) batch ;;