diff options
author | Gustav Eek <gustav@fripost.org> | 2015-04-24 20:26:58 +0200 |
---|---|---|
committer | Gustav Eek <gustav@fripost.org> | 2015-04-24 20:38:44 +0200 |
commit | 11f47202476a3760d680f50257ee5700fe4b48d5 (patch) | |
tree | ed42efa13cd54348b485dd542145676c79abfe7f /templates | |
parent | f35709806678be4028f75daf7c9d3c2131014a7b (diff) |
Modifications between absolute and relative paths
In website documents, *http://fripost.org/<document>* corresponding to
*./website/<document>*, links refering to the wiki,
*http://fripost.org/<document>* corresponding to *./<document>*, need
absolute paths and vise verse. This commit contains changes due to
that.
Note that links in wiki documents refering to website documents does
not strictly need to follow the absolute path rule: both
*http://fripost.org/kontakt* and *./website/kontakt* works equally
well.
Note also that URL's to fripost.org are written as "http://..."
instead of "https://". The reason is that my local lab setup does not
have security enabled.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.tmpl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index 7eb89fb..1f2a70d 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -47,19 +47,19 @@ <span class="icon-bar"></span> <span class="icon-bar"></span> </button> - <a class="navbar-brand" href="/"><b>fripost</b> | demokratisk e-post</a> + <a class="navbar-brand" href="http://fripost.org"><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="<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="<TMPL_VAR BASEURL>medlemskap/">Gå med</a></li> - <li><a href="<TMPL_VAR BASEURL>kontakt/">Kontakt</a></li> - <li><a href="<TMPL_VAR BASEURL>">Wiki</a></li> - <li><a href="<TMPL_VAR BASEURL>english/">English</a></li> + <li><a href="http://fripost.org">Hem</a></li> + <li><a href="http://fripost.org/om/">Om</a></li> + <li><a href="http://fripost.org/medlemskap/">Gå med</a></li> + <li><a href="http://fripost.org/kontakt/">Kontakt</a></li> + <li><a href="http://fripost.org/english/">English</a></Li> + <li><a href="http://wiki.fripost.org/faq/">FAQ</a></li> + <li><a href="http://wiki.fripost.org">Wiki</a></Lie> </ul> <ul class="nav navbar-nav navbar-right"> <li> |