summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-11 01:22:29 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-11 01:22:29 +0100
commit4c75573f4496cef7e72cf8141c7928b583d4f801 (patch)
treef4623903110cf9b672de78398e977f32786958de /build.sh
parented687688acaed7210ae1c2a36862ee6e126ecae1 (diff)
downloadquatuorbellefeuille.com-4c75573f4496cef7e72cf8141c7928b583d4f801.tar.xz
Move all side buttons to a single sidebar
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 617645c..ee479de 100755
--- a/build.sh
+++ b/build.sh
@@ -18,14 +18,14 @@ cp template.html ${output}
transform-li-current-a ()
{
local old="<li><a href=\"$1.html\">"
- local new="<li class=\"current\"><a href=\"$1.html\">"
+ local new="<li><a class=\"current\" href=\"$1.html\">"
echo "s/${old}/${new}/"
}
transform-li-dropdown-current-a ()
{
local old="<li class=\"dropdown\"><a href=\"$1.html\">"
- local new="<li class=\"dropdown current\"><a href=\"$1.html\">"
+ local new="<li class=\"dropdown\"><a class=\"current\" href=\"$1.html\">"
echo "s/${old}/${new}/"
}