parent
fb6353a591
commit
58d91e5207
2 changed files with 7 additions and 2 deletions
|
@ -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).
|
||||
|
|
|
@ -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 ;;
|
||||
|
|
Loading…
Reference in a new issue