diff options
author | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2018-04-06 12:23:02 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@protonmail.com> | 2018-04-06 12:51:13 +0200 |
commit | 94c143cbc29413e750eb502ee8db011395643e04 (patch) | |
tree | 61f2846b28d6f974c71e77116cdcd4f3f9298904 /themes | |
parent | 045701aa9ac8ac9468225b1cd46b0a4bcb2f5927 (diff) |
Correct URLs
Diffstat (limited to 'themes')
-rw-r--r-- | themes/elenq/static/css/fonts.css | 20 | ||||
-rw-r--r-- | themes/elenq/templates/base.html | 10 |
2 files changed, 15 insertions, 15 deletions
diff --git a/themes/elenq/static/css/fonts.css b/themes/elenq/static/css/fonts.css index 90740da..de91f22 100644 --- a/themes/elenq/static/css/fonts.css +++ b/themes/elenq/static/css/fonts.css @@ -1,10 +1,10 @@ /* Webfont: LatoLatin-Regular */@font-face { font-family: 'LatoLatinWeb'; - src: url('/theme/fonts/LatoLatin-Regular.eot'); /* IE9 Compat Modes */ - src: url('/theme/fonts/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('/theme/fonts/LatoLatin-Regular.woff2') format('woff2'), /* Modern Browsers */ - url('/theme/fonts/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */ - url('/theme/fonts/LatoLatin-Regular.ttf') format('truetype'); + src: url('../fonts/LatoLatin-Regular.eot'); /* IE9 Compat Modes */ + src: url('../fonts/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/LatoLatin-Regular.woff2') format('woff2'), /* Modern Browsers */ + url('../fonts/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/LatoLatin-Regular.ttf') format('truetype'); font-style: normal; font-weight: normal; text-rendering: optimizeLegibility; @@ -12,11 +12,11 @@ /* Webfont: LatoLatin-Light */@font-face { font-family: 'LatoLatinLightWeb'; - src: url('/theme/fonts/LatoLatin-Light.eot'); /* IE9 Compat Modes */ - src: url('/theme/fonts/LatoLatin-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('/theme/fonts/LatoLatin-Light.woff2') format('woff2'), /* Modern Browsers */ - url('/theme/fonts/LatoLatin-Light.woff') format('woff'), /* Modern Browsers */ - url('/theme/fonts/LatoLatin-Light.ttf') format('truetype'); + src: url('../fonts/LatoLatin-Light.eot'); /* IE9 Compat Modes */ + src: url('../fonts/LatoLatin-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/LatoLatin-Light.woff2') format('woff2'), /* Modern Browsers */ + url('../fonts/LatoLatin-Light.woff') format('woff'), /* Modern Browsers */ + url('../fonts/LatoLatin-Light.ttf') format('truetype'); font-style: normal; font-weight: normal; text-rendering: optimizeLegibility; diff --git a/themes/elenq/templates/base.html b/themes/elenq/templates/base.html index d591ee5..1b6c420 100644 --- a/themes/elenq/templates/base.html +++ b/themes/elenq/templates/base.html @@ -30,10 +30,10 @@ {% endif %} {% endblock head %} - <link rel="stylesheet" href="/theme/css/normalize.css"> - <link rel="stylesheet" href="/theme/css/skeleton.css"> - <link rel="stylesheet" href="/theme/css/style.css"> - <link rel="stylesheet" href="/theme/css/fonts.css"> + <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/normalize.css"> + <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/skeleton.css"> + <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/style.css"> + <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/fonts.css"> </head> <body id="index" class="home"> @@ -73,7 +73,7 @@ <div class="container text-center"> <a href="https://elenq.tech"> - <img class="footer-logo"src="/theme/img/ElenQTechLogoSimple.png" alt="ElenQ Technology"> + <img class="footer-logo"src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/img/ElenQTechLogoSimple.png" alt="ElenQ Technology"> </a> </div> </footer><!-- /#contentinfo --> |