summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2017-01-19 20:31:29 +0100
committertg(x) <*@tg-x.net>2017-01-19 20:31:29 +0100
commit1eb2d67d028861583acfd151583fbc4330d51727 (patch)
tree2b1b10bef8ab847fee981030c1e3a524eea5129d /common
parentccb4b08e5279b1d659e475f57fba44fd5ad0cd4f (diff)
downloadwww-1eb2d67d028861583acfd151583fbc4330d51727.tar.gz
www-1eb2d67d028861583acfd151583fbc4330d51727.tar.bz2
www-1eb2d67d028861583acfd151583fbc4330d51727.zip
i18n: absolute URLs for css+img
Diffstat (limited to 'common')
-rw-r--r--common/footer.inc.j21
-rw-r--r--common/header.inc.j24
-rw-r--r--common/navigation.inc.j210
3 files changed, 7 insertions, 8 deletions
diff --git a/common/footer.inc.j2 b/common/footer.inc.j2
index 2951c24d..6320e0d6 100644
--- a/common/footer.inc.j2
+++ b/common/footer.inc.j2
@@ -3,6 +3,5 @@
<p>{{ _("This page was created using <a href='https://www.gnu.org/'>Free Software</a> only.") }}</p>
</div>
<script type="text/javascript">//<![CDATA[
- loadLang();
activate_menu();
//]]></script>
diff --git a/common/header.inc.j2 b/common/header.inc.j2
index 2923e700..4115aafa 100644
--- a/common/header.inc.j2
+++ b/common/header.inc.j2
@@ -32,8 +32,8 @@
<!-- Bootstrap core CSS -->
<link href="/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
- <link href="justified-nav.css" rel="stylesheet">
- <link href="styles.css" rel="stylesheet">
+ <link href="/justified-nav.css" rel="stylesheet">
+ <link href="/styles.css" rel="stylesheet">
<script src="/dist/js/jquery-1.11.1.min.js"></script>
<script src="/dist/js/bootstrap.min.js"></script>
diff --git a/common/navigation.inc.j2 b/common/navigation.inc.j2
index 4f621b3d..7b421464 100644
--- a/common/navigation.inc.j2
+++ b/common/navigation.inc.j2
@@ -22,10 +22,10 @@
</div>
<div class="navbar navbar-default navbar-fixed-bottom" role="navigation">
<div class="container lang-slector">
- <a href="/en/"><img src="images/gb.png" height="15" width="23" alt="English"></a>
- <a href="/de/"><img src="images/de.png" height="15" width="25" alt="Deutsch"></a>
- <a href="/fr/"><img src="images/fr.png" height="15" width="22" alt="Français"></a>
- <a href="/it/"><img src="images/it.png" height="15" width="22" alt="Italiano"></a>
- <a href="/es/"><img src="images/es.png" height="15" width="23" alt="Español"></a>
+ <a href="/en/"><img src="/images/gb.png" height="15" width="23" alt="English"></a>
+ <a href="/de/"><img src="/images/de.png" height="15" width="25" alt="Deutsch"></a>
+ <a href="/fr/"><img src="/images/fr.png" height="15" width="22" alt="Français"></a>
+ <a href="/it/"><img src="/images/it.png" height="15" width="22" alt="Italiano"></a>
+ <a href="/es/"><img src="/images/es.png" height="15" width="23" alt="Español"></a>
</div>
</div>