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 ;;