aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schmidl <tobias@schmidl.cc>2016-01-10 20:45:47 +0100
committerTobias Schmidl <T.Schmidl@erhardt-leimer.com>2016-01-11 12:27:56 +0100
commit6b60cda6325e00b03a50c6d24115d6ba2bef6370 (patch)
treef325487c439657536cbd978ecea8feb09ad129e6
parent7708409dff79400c9f20c5b6fa613852fb437021 (diff)
downloadpelican-themes-6b60cda6325e00b03a50c6d24115d6ba2bef6370.zip
pelican-themes-6b60cda6325e00b03a50c6d24115d6ba2bef6370.tar.gz
pelican-themes-6b60cda6325e00b03a50c6d24115d6ba2bef6370.tar.bz2
Changed a lot of URLs towards HTTPS
We don't want to have mixed mode on the site, therefore it's useful to use HTTPS wherever possible. It's no problem to load HTTPS content on a plain HTTP enabled site, but it is a problem the other way round.
-rw-r--r--cebong/static/css/main.css6
-rw-r--r--cebong/templates/article.html2
-rw-r--r--cebong/templates/base.html4
-rw-r--r--cebong/templates/disqus_script.html2
-rw-r--r--cebong/templates/github.html4
-rw-r--r--cebong/templates/piwik.html4
-rw-r--r--cebong/templates/twitter.html4
7 files changed, 13 insertions, 13 deletions
diff --git a/cebong/static/css/main.css b/cebong/static/css/main.css
index 2bd7ecd..e54173f 100644
--- a/cebong/static/css/main.css
+++ b/cebong/static/css/main.css
@@ -11,9 +11,9 @@
@import url("reset.css");
@import url("pygment.css");
@import url("typogrify.css");
-@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz&subset=latin);
-@import url(http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic);
-@import url(http://fonts.googleapis.com/css?family=Droid+Sans+Mono);
+@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz&subset=latin);
+@import url(https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic);
+@import url(https://fonts.googleapis.com/css?family=Droid+Sans+Mono);
/***** Global *****/
/* Body */
body {
diff --git a/cebong/templates/article.html b/cebong/templates/article.html
index fc7e589..2308d67 100644
--- a/cebong/templates/article.html
+++ b/cebong/templates/article.html
@@ -22,7 +22,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 = 'https://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
diff --git a/cebong/templates/base.html b/cebong/templates/base.html
index d4f4eb8..307fa2f 100644
--- a/cebong/templates/base.html
+++ b/cebong/templates/base.html
@@ -12,7 +12,7 @@
{% endif %}
<!--[if IE]>
- <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
+ <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="{{ SITEURL }}/css/ie.css"/>
@@ -76,7 +76,7 @@
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
- {{FOOTERTEXT}} Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>. Theme is using <a href="http://github.com/getpelican/pelican-themes" target="_blank">cebong</a>.
+ {{FOOTERTEXT}} Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>. Theme is using <a href="https://github.com/getpelican/pelican-themes" target="_blank">cebong</a>.
</address><!-- /#about -->
</footer><!-- /#contentinfo -->
diff --git a/cebong/templates/disqus_script.html b/cebong/templates/disqus_script.html
index c4f442c..23ec532 100644
--- a/cebong/templates/disqus_script.html
+++ b/cebong/templates/disqus_script.html
@@ -4,7 +4,7 @@
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
- s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
+ s.src = 'https://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
diff --git a/cebong/templates/github.html b/cebong/templates/github.html
index 75592ac..ccc401f 100644
--- a/cebong/templates/github.html
+++ b/cebong/templates/github.html
@@ -1,9 +1,9 @@
{% if GITHUB_URL %}
<a href="{{ GITHUB_URL }}">
{% if GITHUB_POSITION != "left" %}
-<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
+<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" />
{% else %}
-<img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png" alt="Fork me on GitHub" />
+<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png" alt="Fork me on GitHub" />
{% endif %}
</a>
{% endif %}
diff --git a/cebong/templates/piwik.html b/cebong/templates/piwik.html
index ff459af..337157a 100644
--- a/cebong/templates/piwik.html
+++ b/cebong/templates/piwik.html
@@ -12,5 +12,5 @@
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
- </script><noscript><p><img src="http://{{ PIWIK_URL }}/piwik.php?idsite={{ PIWIK_SITE_ID }}" style="border:0" alt="" /></p></noscript>
-{% endif %} \ No newline at end of file
+ </script><noscript><p><img src="https://{{ PIWIK_URL }}/piwik.php?idsite={{ PIWIK_SITE_ID }}" style="border:0" alt="" /></p></noscript>
+{% endif %}
diff --git a/cebong/templates/twitter.html b/cebong/templates/twitter.html
index c6b159f..bf78c32 100644
--- a/cebong/templates/twitter.html
+++ b/cebong/templates/twitter.html
@@ -1,3 +1,3 @@
{% if TWITTER_USERNAME %}
-<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="{{TWITTER_USERNAME}}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
-{% endif %} \ No newline at end of file
+<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="{{TWITTER_USERNAME}}">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script>
+{% endif %}