up
All checks were successful
/ publish (push) Successful in 58s

This commit is contained in:
milovann 2024-12-07 15:48:05 +01:00
parent fb6353a591
commit 58d91e5207
2 changed files with 7 additions and 2 deletions

View file

@ -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).

View file

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