aboutsummaryrefslogtreecommitdiff
path: root/theme/templates
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2014-05-09 14:30:46 +0200
committerSébastien Dailly <sebastien@chimrod.com>2014-05-12 21:19:34 +0200
commitb9e22325bb46e2611a73e54a3f0ade31800d1bd9 (patch)
tree60b8aa46b47ec7fd4b8c8d62821aeef0b22be1a5 /theme/templates
parent23d7fb3e69d06b718a160c3ded763e6e6fbe3240 (diff)
Moved to pelican 3.3
Diffstat (limited to 'theme/templates')
-rwxr-xr-xtheme/templates/article.html2
-rwxr-xr-xtheme/templates/base.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/theme/templates/article.html b/theme/templates/article.html
index a23074c..562b98a 100755
--- a/theme/templates/article.html
+++ b/theme/templates/article.html
@@ -37,7 +37,7 @@
var disqus_identifier = "{{ article.url }}";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
+ dsq.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 7024c58..59e4619 100755
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -4,7 +4,7 @@
<head>
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="/theme/css/{{ CSS_FILE }}" type="text/css" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
<link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} - Flux ATOM" />
{% if tag %}
{% if TAG_FEED_ATOM %}