From 1fa795146a32c92aadb3bb6e0a85e78e64173222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Sat, 6 Feb 2016 13:03:43 +0000 Subject: [PATCH 1/4] Copyright notice updated --- _layouts/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 13a212f..4c19bc4 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -59,8 +59,8 @@
-

Copyright © 2015 Sparkle Project. All Rights Reserved.

-

This website is open source.

+

© 2016 Sparkle Project. All Rights Reserved.

+

This website is open source.

Project Sponsor:
Bandwidth Hog by MaxCDN

From 7b80c82633e5841936552ca01fd58771978231d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesi=C5=84ski?= Date: Sat, 6 Feb 2016 13:17:05 +0000 Subject: [PATCH 2/4] Canonical HTTPS links --- _layouts/default.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_layouts/default.html b/_layouts/default.html index 4c19bc4..66f1606 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,6 +4,7 @@ + {% if page.title %} {{ page.title }} - {% endif %} {{ site.title }} From 3b6ae02840a1967c2ae785eb637ec7515eef0c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Sat, 6 Feb 2016 13:23:12 +0000 Subject: [PATCH 3/4] Redirect to canonical --- _layouts/default.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_layouts/default.html b/_layouts/default.html index 66f1606..6374b3f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -25,6 +25,11 @@ ga('create', 'UA-52386963-1', 'auto'); ga('send', 'pageview'); + + // on GitHub pages we can't distinguish server-side between CDN and users' visits + if ('sparkle-project.github.io' === location.hostname) { + location.href = 'https://sparkle-project.org'+location.path; + } //]]> From 9588ea731ebea9d958da6ba00909eb294087a51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesi=C5=84ski?= Date: Sat, 6 Feb 2016 20:46:50 +0000 Subject: [PATCH 4/4] space --- _layouts/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 6374b3f..5038732 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,7 +4,7 @@ - + {% if page.title %} {{ page.title }} - {% endif %} {{ site.title }} @@ -28,7 +28,7 @@ // on GitHub pages we can't distinguish server-side between CDN and users' visits if ('sparkle-project.github.io' === location.hostname) { - location.href = 'https://sparkle-project.org'+location.path; + location.href = 'https://sparkle-project.org' + location.path; } //]]>