summaryrefslogtreecommitdiff
path: root/légal.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-15 17:25:30 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-15 17:25:30 +0100
commitdff809b2c3209b682f9e2c23dae1c6bdf925c749 (patch)
treea5db8b7b8e6fd4bcad7ba9b06e826a91413a53b5 /légal.sh
parent38e95aa7d1112d06de08612311cc77454b2a1c61 (diff)
downloadquatuorbellefeuille.com-dff809b2c3209b682f9e2c23dae1c6bdf925c749.tar.xz
Start writing legal mentions
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