summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xbuild-member.sh1
-rw-r--r--contact.sh3
-rw-r--r--quatuor.sh3
4 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d6485f1..88cfa78 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ $(stylesheets): $(OUTDIR)/%: % | $(stylesheets_folders)
$(pages): $(OUTDIR)/%.html: %.html %.sh template.html | $(OUTDIR)
./build.sh $< $*.sh $@
-$(members_pages): $(OUTDIR)/%.html: %.in template.html | $(OUTDIR)
+$(members_pages): $(OUTDIR)/%.html: %.in build-member.sh template.html | $(OUTDIR)
./build-member.sh $< $@
$(OUTDIR)/quatuor.html: quatuor.md
diff --git a/build-member.sh b/build-member.sh
index 329be0e..ed74909 100755
--- a/build-member.sh
+++ b/build-member.sh
@@ -20,6 +20,7 @@ generate-parameters ()
title='${fullname}'
stylesheets=(membre)
transforms=("\$(transform-li-dropdown-current-a quatuor)"
+ "\$(transform-li-current-a quatuor)"
"\$(transform-li-current-a $(firstname "${fullname}"))")
EOF
}
diff --git a/contact.sh b/contact.sh
index b1e34e3..6a7a40c 100644
--- a/contact.sh
+++ b/contact.sh
@@ -1,3 +1,4 @@
title=Contact
stylesheets=(contact)
-transforms=('s/class="contact"/class="contact current"/')
+transforms=('s/class="contact"/class="contact current"/' # Desktop.
+ "$(transform-li-current-a contact)") # Mobile.
diff --git a/quatuor.sh b/quatuor.sh
index ca8919a..7bb0e3f 100644
--- a/quatuor.sh
+++ b/quatuor.sh
@@ -8,5 +8,6 @@ add-bio ()
title=Biographie
stylesheets=quatuor
-transforms=("$(transform-li-dropdown-current-a quatuor)")
+transforms=("$(transform-li-dropdown-current-a quatuor)" # Desktop.
+ "$(transform-li-current-a quatuor)") # Mobile.
postprocess=add-bio