summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2012-10-21 15:14:38 (GMT)
committer Jaromil <jaromil@dyne.org>2012-10-21 15:14:38 (GMT)
commit85b6039c0345f2f765f0959bc7e70ad642d85d6a (patch)
tree178ac6564529673f84cba4bb4bfb16d94fee7df1
parentcd88f9233fc015f8ed3624380592c3a0e3a5767b (diff)
brand link in place of intro
-rwxr-xr-xrender17
1 files changed, 10 insertions, 7 deletions
diff --git a/render b/render
index b66d07c..b54f474 100755
--- a/render
+++ b/render
@@ -163,21 +163,24 @@ render_navbar() {
<!-- BEGIN NAVIGATION BAR -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
- <div class="brand">&nbsp;&nbsp;&nbsp;${BRAND}</div>
- <ul class="nav">
- <li class="divider-vertical"></li>
EOF
-
# first section: overview
if [ "$active" = "views" ]; then
- cat <<EOF
-<li class="active"><a href="index">intro</a></li>
+ cat <<EOF
+ <div class="brand active">&nbsp;&nbsp;&nbsp;${BRAND}</div>
EOF
else
cat <<EOF
-<li><a href="index">intro</a></li>
+<a href="index">
+ <div class="brand">&nbsp;&nbsp;&nbsp;${BRAND}</div>
+</a>
EOF
fi
+cat <<EOF
+ <ul class="nav">
+ <li class="divider-vertical"></li>
+EOF
+
# other sections
for sec in ${sections}; do