summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGustav Eek <gustav@fripost.org>2015-01-18 13:22:55 +0100
committerGustav Eek <gustav@fripost.org>2015-01-19 09:58:46 +0100
commit6b463d03d9aa67552c1663d5d6dc94554d56d393 (patch)
tree3e12efb7d1580c6ef61ce0ceff2d46d3599e4a01 /templates
parent8ccf62f82bf7f3ea4a88e6178a960a5710eaff20 (diff)
Basic preparation modification to page template
Some URL's in *page.tmpl* are modified for compatibility with generic installations. Also some preparation for website migration are done.
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl11
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 6b527ad..5bef758 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -5,12 +5,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8" />
<!-- Bootstrap -->
- <link rel="stylesheet" href="/static/css/bootstrap.min.css">
+ <link rel="stylesheet" href="<TMPL_VAR BASEURL>static/css/bootstrap.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
- <script src="/static/js/html5shiv.js"></script>
- <script src="/static/js/respond.min.js"></script>
+ <script src="<TMPL_VAR BASEURL>static/js/html5shiv.js"></script>
+ <script src="<TMPL_VAR BASEURL>static/js/respond.min.js"></script>
<![endif]-->
<TMPL_IF FAVICON>
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
@@ -47,17 +47,18 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="/"><b>fripost</b> | democratisk e-post</a>
+ <a class="navbar-brand" href="/"><b>fripost</b> | demokratisk e-post</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
- <li class="active"><a href="https://fripost.org/">Hem</a></li>
+ <li class="active"><a href="<TMPL_VAR BASEURL>hem/">Hem</a></li>
<li><a href="<TMPL_VAR BASEURL>om/">Om</a></li>
<li><a href="<TMPL_VAR BASEURL>faq/">FAQ</a></li>
<li><a href="https://fripost.org/medlemskap.html">Gå med</a></li>
<li><a href="<TMPL_VAR BASEURL>kontakt/">Kontakt</a></li>
+ <li><a href="<TMPL_VAR BASEURL>">Wiki</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>