summaryrefslogtreecommitdiff
path: root/programmes.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-30 20:57:15 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-30 20:57:15 +0100
commit8c1256185ee44b1c4abbccfd8b0bfc92e119e688 (patch)
tree5eed92b74b0e5f6433873cbb745869c378748a27 /programmes.sh
parent2013d68dad67988ae62e21c4921c2910e9bdff40 (diff)
downloadquatuorbellefeuille.com-8c1256185ee44b1c4abbccfd8b0bfc92e119e688.tar.xz
Refactor "current" class addition
Will make it easier to add them up for individual members.
Diffstat (limited to 'programmes.sh')
-rw-r--r--programmes.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/programmes.sh b/programmes.sh
index 2a3486d..9c8d9e7 100644
--- a/programmes.sh
+++ b/programmes.sh
@@ -1,6 +1,3 @@
title=Programmes
stylesheets=programmes
-
-old='<li><a href="programmes.html">'
-new='<li class="current"><a href="programmes.html">'
-current_div=",${old},${new},"
+transforms=("$(transform-li-current-a programmes)")