summaryrefslogtreecommitdiff
path: root/en/programs.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-10 22:21:35 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-10 22:25:44 +0100
commit9f74233ffedb0609d43d54b6169dc47dd6337803 (patch)
tree724af2631940cf523ae2b3ac62376ae6b89e2dbc /en/programs.sh
parent1e44953621928120f5ee674c4582e33d6e625e62 (diff)
downloadquatuorbellefeuille.com-9f74233ffedb0609d43d54b6169dc47dd6337803.tar.xz
Add plumbing for English website
No link to switch from one language to the other yet. Also, some pages are now out-of-date wrt their French version; not a big deal, since we'll need to go over each page anyway.
Diffstat (limited to 'en/programs.sh')
-rw-r--r--en/programs.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/en/programs.sh b/en/programs.sh
new file mode 100644
index 0000000..3f90fb5
--- /dev/null
+++ b/en/programs.sh
@@ -0,0 +1,12 @@
+add-programs ()
+{
+ sed -i \
+ -e /'{PROGRAMS}'/'r '<(./build-programs.py) \
+ -e /'{PROGRAMS}'/'c\' \
+ $1
+}
+
+title=Programs
+stylesheets=programmes
+transforms=("$(transform-li-current-a programs)")
+postprocess=add-programs