From: Mike D. Lowis Date: Mon, 10 Aug 2015 19:25:22 +0000 (-0400) Subject: Added code to highlight the current X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a3c6786c02bba3c91a5d57a5bad543f8267c0226;p=projs%2Fmikedlowis.github.io Added code to highlight the current --- diff --git a/site/articles.html b/site/articles.html index 6759480..32a6729 100644 --- a/site/articles.html +++ b/site/articles.html @@ -5,6 +5,9 @@ +
@@ -15,10 +18,10 @@ diff --git a/site/home.html b/site/home.html index fd2eccf..54a39cb 100644 --- a/site/home.html +++ b/site/home.html @@ -5,6 +5,9 @@ +
@@ -15,10 +18,10 @@ diff --git a/site/projects.html b/site/projects.html index 6759480..2545fb9 100644 --- a/site/projects.html +++ b/site/projects.html @@ -5,6 +5,9 @@ +
@@ -15,10 +18,10 @@ diff --git a/site/prototypes.html b/site/prototypes.html index 6759480..fa0a90a 100644 --- a/site/prototypes.html +++ b/site/prototypes.html @@ -5,6 +5,9 @@ +
@@ -15,10 +18,10 @@ diff --git a/templates/page.html b/templates/page.html index 980ef20..4e66a66 100644 --- a/templates/page.html +++ b/templates/page.html @@ -5,6 +5,9 @@ +
diff --git a/tools/genmenu.sh b/tools/genmenu.sh index 7df6189..2cb86b4 100755 --- a/tools/genmenu.sh +++ b/tools/genmenu.sh @@ -4,8 +4,8 @@ pushd pages/ > /dev/null pagelist=(`grep MENUID *.md | sed -e's/\.md:MENUID//' | awk '{print $2, $1}' | sort | cut -d' ' -f2`) echo '' -for page in "${pagelist[@]}"; do - echo " $page" +for i in "${!pagelist[@]}"; do + echo " ${pagelist[$i]}" done echo ' ' popd > /dev/null