summaryrefslogtreecommitdiff
path: root/légal.sh
diff options
context:
space:
mode:
Diffstat (limited to 'légal.sh')
-rw-r--r--légal.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/légal.sh b/légal.sh
new file mode 100644
index 0000000..e5afdf4
--- /dev/null
+++ b/légal.sh
@@ -0,0 +1,13 @@
+add-legal ()
+{
+ sed -i \
+ -e /'{LEGAL}'/'r '<(pandoc légal.md) \
+ -e /'{LEGAL}'/'c\' \
+ $1
+}
+
+title='Mentions légales'
+stylesheets=(légal)
+transforms=() # TODO: highlight footer link
+postprocess=add-legal
+translation=legal