From 6b60cda6325e00b03a50c6d24115d6ba2bef6370 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Sun, 10 Jan 2016 20:45:47 +0100 Subject: 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. --- cebong/static/css/main.css | 6 +++--- cebong/templates/article.html | 2 +- cebong/templates/base.html | 4 ++-- cebong/templates/disqus_script.html | 2 +- cebong/templates/github.html | 4 ++-- cebong/templates/piwik.html | 4 ++-- cebong/templates/twitter.html | 4 ++-- 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); })(); 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 %} + 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); }()); 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 %} {% if GITHUB_POSITION != "left" %} -Fork me on GitHub +Fork me on GitHub {% else %} -Fork me on GitHub +Fork me on GitHub {% endif %} {% 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 ) {} - -{% endif %} \ No newline at end of file + +{% 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 %} -Tweet -{% endif %} \ No newline at end of file +Tweet +{% endif %} -- cgit