chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9087254
)
theme: treat CSS file links as possibly SITEURL-relative as well.
author
Vladimír Vondruš
<mosra@centrum.cz>
Thu, 26 Oct 2017 20:59:51 +0000
(22:59 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Thu, 26 Oct 2017 20:59:51 +0000
(22:59 +0200)
pelican-theme/templates/base.html
patch
|
blob
|
history
diff --git
a/pelican-theme/templates/base.html
b/pelican-theme/templates/base.html
index b30071251f47285249bfa29abef1a63dedf50625..0785bc5344a877efa34a760061f12f6a3485b263 100644
(file)
--- a/
pelican-theme/templates/base.html
+++ b/
pelican-theme/templates/base.html
@@
-4,7
+4,7
@@
{% block head %}
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
{% for href in CSS_FILES %}
- <link rel="stylesheet" href="{{ href }}" />
+ <link rel="stylesheet" href="{{ href
|format_siteurl
}}" />
{% endfor %}
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{% if THEME_COLOR %}