summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-03-04 09:06:03 (GMT)
committer Jaromil <jaromil@dyne.org>2013-03-04 09:06:03 (GMT)
commit5ddb43db1b561ee0f558023c40905b1b3544e312 (patch)
treebf22c07f42d465b3070188ced4856e074a4dcb4f
parent351c56986480c3c0a5324e39a8bf91e7398faec4 (diff)
static navbar is simplier
-rwxr-xr-xrender28
1 files changed, 14 insertions, 14 deletions
diff --git a/render b/render
index bcfa327..9454a8c 100755
--- a/render
+++ b/render
@@ -196,20 +196,20 @@ ${nav_icon}&nbsp;&nbsp;${BRAND}
EOF
-# other sections
- for sec in ${sections}; do
- ssec=`basename $sec`
- icon=""; nav_icon="&nbsp;"
- nav_active=""
- read_meta views/$ssec.html
- { test "$icon" = "" } || {
- nav_icon="<i class=\"icon-${icon}\"></i>" }
- { test "$ssec" = "$active" } && {
- nav_active=" class=\"active\"" }
- cat <<EOF
- <li${nav_active}><a href="${ssec}">${nav_icon}&nbsp;${ssec//_/ }</a></li>
-EOF
- done
+# # other sections
+# for sec in ${sections}; do
+# ssec=`basename $sec`
+# icon=""; nav_icon="&nbsp;"
+# nav_active=""
+# read_meta views/$ssec.html
+# { test "$icon" = "" } || {
+# nav_icon="<i class=\"icon-${icon}\"></i>" }
+# { test "$ssec" = "$active" } && {
+# nav_active=" class=\"active\"" }
+# cat <<EOF
+# <li${nav_active}><a href="${ssec}">${nav_icon}&nbsp;${ssec//_/ }</a></li>
+# EOF
+# done
unset active