summaryrefslogtreecommitdiff
path: root/programmes.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-23 23:24:42 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-23 23:24:42 +0100
commitc9415599cafd67463b6a0a2781ecb47d14fdf976 (patch)
tree635682ffe96526e89a1dd02bb42ba92080f92926 /programmes.sh
parentb71cacbe6db38833176ec64c54596e928547a6b8 (diff)
downloadquatuorbellefeuille.com-c9415599cafd67463b6a0a2781ecb47d14fdf976.tar.xz
Add first program, plus script to generate them
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