summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorCedric Spindler <cedric.spindler@gmail.com>2019-01-28 00:39:02 +0100
committerCedric Spindler <cedric.spindler@gmail.com>2019-01-28 00:39:02 +0100
commit73d49e078d8b1c2f44dae01cffdf1b2fd3f5cb3a (patch)
tree956f699c1ac3b3c981bf6f599252ce72ba506750 /templates
parent91ca57860570ca975abe91d8238a01f40878db5f (diff)
Align header and footer to body content
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl100
1 files changed, 51 insertions, 49 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index a8075efb..58d792e4 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -53,7 +53,7 @@
<TMPL_IF HTML5><article class="page container row"><TMPL_ELSE><div class="page container row"></TMPL_IF>
<!-- START pageheader -->
- <TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
+ <TMPL_IF HTML5><section class="pageheader col-xs-12"><TMPL_ELSE><div class="pageheader col-xs-12"></TMPL_IF>
<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
<ol class="breadcrumb">
<TMPL_LOOP PARENTLINKS>
@@ -187,56 +187,58 @@
<div class="clearfix"></div>
<!-- START footer -->
<TMPL_UNLESS DYNAMIC>
- <nav class="navbar navbar-default" role="navigation">
- <TMPL_IF TAGS>
- <div class="navbar-header">
- <p class="navbar-text">Tags:</p>
- </div>
- <ul class="nav navbar-nav">
- <TMPL_LOOP TAGS>
- <li><TMPL_VAR LINK></li>
- </TMPL_LOOP>
- </ul>
- </TMPL_IF>
- <TMPL_IF BACKLINKS>
- <div class="navbar-header">
- <p class="navbar-text">Links:</p>
- </div>
- <ul class="nav navbar-nav">
- <TMPL_LOOP BACKLINKS>
- <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
- </TMPL_LOOP>
- <TMPL_IF MORE_BACKLINKS>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">&hellip;</a>
- <ul class="dropdown-menu" role="menu">
- <TMPL_LOOP MORE_BACKLINKS>
- <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
- </TMPL_LOOP>
- </ul>
- </li>
- </TMPL_IF>
- </ul>
- </TMPL_IF>
- <TMPL_VAR TRAILS>
- </nav>
-
- <div class="center-block">
- <ul class="list-inline">
- <TMPL_IF COPYRIGHT>
- <li><a name="pagecopyright"></a><TMPL_VAR COPYRIGHT></li>
+ <section class="col-xs-12">
+ <nav class="navbar navbar-default" role="navigation">
+ <TMPL_IF TAGS>
+ <div class="navbar-header">
+ <p class="navbar-text">Tags:</p>
+ </div>
+ <ul class="nav navbar-nav">
+ <TMPL_LOOP TAGS>
+ <li><TMPL_VAR LINK></li>
+ </TMPL_LOOP>
+ </ul>
</TMPL_IF>
- <TMPL_IF LICENSE>
- <li><a name="pagelicense"></a>License: <TMPL_VAR LICENSE></li>
- <TMPL_ELSE>
- <li><a name="pagelicense"></a>License: <a href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a></li>
+ <TMPL_IF BACKLINKS>
+ <div class="navbar-header">
+ <p class="navbar-text">Links:</p>
+ </div>
+ <ul class="nav navbar-nav">
+ <TMPL_LOOP BACKLINKS>
+ <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
+ </TMPL_LOOP>
+ <TMPL_IF MORE_BACKLINKS>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">&hellip;</a>
+ <ul class="dropdown-menu" role="menu">
+ <TMPL_LOOP MORE_BACKLINKS>
+ <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a></li>
+ </TMPL_LOOP>
+ </ul>
+ </li>
+ </TMPL_IF>
+ </ul>
</TMPL_IF>
- <li><a href="https://www.starship-factory.ch/datenschutz/">Datenschutzerklärung</a>
- (<a href="https://www.starship-factory.ch/datenschutz/#dsg-wiki">Wiki-spezifische Sektion</a>)</li>
- <li>Last edited <TMPL_VAR MTIME></li>
- <!-- Created <TMPL_VAR CTIME> -->
- </ul>
- </div>
+ <TMPL_VAR TRAILS>
+ </nav>
+
+ <div class="center-block">
+ <ul class="list-inline">
+ <TMPL_IF COPYRIGHT>
+ <li><a name="pagecopyright"></a><TMPL_VAR COPYRIGHT></li>
+ </TMPL_IF>
+ <TMPL_IF LICENSE>
+ <li><a name="pagelicense"></a>License: <TMPL_VAR LICENSE></li>
+ <TMPL_ELSE>
+ <li><a name="pagelicense"></a>License: <a href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a></li>
+ </TMPL_IF>
+ <li><a href="https://www.starship-factory.ch/datenschutz/">Datenschutzerklärung</a>
+ (<a href="https://www.starship-factory.ch/datenschutz/#dsg-wiki">Wiki-spezifische Sektion</a>)</li>
+ <li>Last edited <TMPL_VAR MTIME></li>
+ <!-- Created <TMPL_VAR CTIME> -->
+ </ul>
+ </div>
+ </section>
<TMPL_IF EXTRAFOOTER>
<TMPL_VAR EXTRAFOOTER>