summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-26 18:06:55 +0200
committerJonas Smedegaard <dr@jones.dk>2017-03-26 18:06:55 +0200
commit0ab43e6312e8ed991ae59a9acf10489befc61372 (patch)
treef3fb6be6c90c0aae5b6c74fb9e6c34ff0daf5fa4
parent053fda4d0e08e393384102ab4214da173669970e (diff)
Move topbar above pageheader, and add Bootstrap navbar classes.
-rw-r--r--page.tmpl10
1 files changed, 2 insertions, 8 deletions
diff --git a/page.tmpl b/page.tmpl
index 105f975..6d8975c 100644
--- a/page.tmpl
+++ b/page.tmpl
@@ -48,6 +48,8 @@
</head>
<body>
+<TMPL_UNLESS DYNAMIC><TMPL_IF TOPBAR><nav class="navbar navbar-default navbar-static-top"><TMPL_VAR TOPBAR></nav></TMPL_IF></TMPL_UNLESS>
+
<TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
<TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
@@ -119,14 +121,6 @@
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
-<TMPL_UNLESS DYNAMIC>
-<TMPL_IF TOPBAR>
-<div class="topbar">
-<TMPL_VAR TOPBAR>
-</div>
-</TMPL_IF>
-</TMPL_UNLESS>
-
<div id="pagebody">
<TMPL_IF HTML5><section id="content" role="main"><TMPL_ELSE><div id="content"></TMPL_IF>