[tor-commits] [styleguide/master] Make url relatives
hiro at torproject.org
hiro at torproject.org
Tue Nov 20 13:01:05 UTC 2018
commit 92b135a24335aa6340b4ec03a7805de729f50bf2
Author: hiro <hiro at torproject.org>
Date: Tue Nov 20 14:01:01 2018 +0100
Make url relatives
---
i18n/contents.pot | 2 +-
styleguide.lektorproject | 2 +-
templates/navbar.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/i18n/contents.pot b/i18n/contents.pot
index f2332af..8e47538 100644
--- a/i18n/contents.pot
+++ b/i18n/contents.pot
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-11-02 14:20+CET\n"
+"POT-Creation-Date: 2018-11-20 14:00+CET\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: en <LL at li.org>\n"
diff --git a/styleguide.lektorproject b/styleguide.lektorproject
index 0ea7504..d93427c 100644
--- a/styleguide.lektorproject
+++ b/styleguide.lektorproject
@@ -1,4 +1,4 @@
[project]
name = styleguide
url = https://styleguide.torproject.org/
-url_style = absolute
\ No newline at end of file
+url_style = relative
diff --git a/templates/navbar.html b/templates/navbar.html
index fd615c6..540c39b 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -1,6 +1,6 @@
<nav class="navbar no-background navbar-expand-lg navbar-dark fixed-top bg-primary">
<a class="navbar-brand" href="/">
- <img src="{{ '/static/images/tor-logo.svg' }}" >
+ <img src="{{ '/static/images/tor-logo.svg'|asseturl }}" >
<span class="sr-only"></span>
</a>
<label for="nav-toggle">
More information about the tor-commits
mailing list