summaryrefslogtreecommitdiff
path: root/programmes.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-26 17:30:29 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-26 17:30:29 +0100
commitff93d12f6e5bce471a0daf7c0a575fdeb39c3070 (patch)
tree101c6adddaa8c778e90682f05b26456cf31116bd /programmes.sh
parent9eef07b4d64d46947d56ad6e2a83af0414e2845b (diff)
parentfd5969367b4bd662bd9ff6710783a3d87f5bd06a (diff)
downloadquatuorbellefeuille.com-ff93d12f6e5bce471a0daf7c0a575fdeb39c3070.tar.xz
Merge branch 'programmes'
Diffstat (limited to 'programmes.sh')
-rw-r--r--programmes.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/programmes.sh b/programmes.sh
index 9c8d9e7..f03a636 100644
--- a/programmes.sh
+++ b/programmes.sh
@@ -1,3 +1,12 @@
+add-programs ()
+{
+ sed -i \
+ -e /'{PROGRAMS}'/'r '<(./build-programs.py) \
+ -e /'{PROGRAMS}'/'c\' \
+ $1
+}
+
title=Programmes
stylesheets=programmes
transforms=("$(transform-li-current-a programmes)")
+postprocess=add-programs