diff --git a/_config.yml b/_config.yml
index 7ffa1a3..7ff5a95 100644
--- a/_config.yml
+++ b/_config.yml
@@ -26,7 +26,8 @@ safe: false
host: 0.0.0.0
port: 4000
baseurl: /
-url: http://arcanis.name
+url: https://arcanis.name
+enforce_ssl: arcanis.name
lsi: false
maruku:
diff --git a/_includes/cse.html b/_includes/cse.html
index cb07388..01d99c4 100644
--- a/_includes/cse.html
+++ b/_includes/cse.html
@@ -1,4 +1,4 @@
-
\ No newline at end of file
+
diff --git a/_includes/header_sharethis.html b/_includes/header_sharethis.html
index 4a84c6a..6ed5615 100644
--- a/_includes/header_sharethis.html
+++ b/_includes/header_sharethis.html
@@ -1,3 +1,3 @@
-
+
diff --git a/_includes/ssl-redirect.html b/_includes/ssl-redirect.html
new file mode 100644
index 0000000..38a2a73
--- /dev/null
+++ b/_includes/ssl-redirect.html
@@ -0,0 +1,6 @@
+
+
diff --git a/_layouts/default.html b/_layouts/default.html
index 59c629b..4f0c3de 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -26,6 +26,7 @@
document.createElement('figcaption');
+ {% include ssl-redirect.html %}
{% include google_analytics.html %}
{% if page.share == true %}
{% include header_sharethis.html %}
diff --git a/devs/netctl-gui-dbus-api.html b/devs/netctl-gui-dbus-api.html
index 6be9bcb..0112553 100644
--- a/devs/netctl-gui-dbus-api.html
+++ b/devs/netctl-gui-dbus-api.html
@@ -464,7 +464,7 @@ small {
External links
diff --git a/devs/netctl-gui-security-notes.html b/devs/netctl-gui-security-notes.html
index 11401ea..e208e64 100644
--- a/devs/netctl-gui-security-notes.html
+++ b/devs/netctl-gui-security-notes.html
@@ -98,7 +98,7 @@ env -i bash -c "source '<profile>'; for i in ${!<key>[@]}; do ec
External links
diff --git a/index.html b/index.html
index bb8a22f..51be9ee 100644
--- a/index.html
+++ b/index.html
@@ -23,7 +23,7 @@ title: arcanis' homepage
Projects
- Repository
+ Repository
About me
{% include cse.html %}
@@ -34,7 +34,7 @@ title: arcanis' homepage
if (window.location.replace) window.location.replace(dest)
else window.location=dest
}
- if (document.referrer != "http://arcanis.name/ru/") {
+ if (document.referrer != "{{ site.url }}ru/") {
var languageinfo=navigator.language? navigator.language : navigator.userLanguage
if (languageinfo.substr(0,2) == "ru") redirectpage("/ru/")
}
diff --git a/robots.txt b/robots.txt
index 62d3d19..93be074 100644
--- a/robots.txt
+++ b/robots.txt
@@ -1,3 +1,3 @@
User-agent: *
Disallow: /devs
-Sitemap: http://arcanis.name/sitemap.xml
+Sitemap: https://arcanis.name/sitemap.xml
diff --git a/ru/index.html b/ru/index.html
index 9c65b52..9992795 100644
--- a/ru/index.html
+++ b/ru/index.html
@@ -24,7 +24,7 @@ title: arcanis
Проекты
- Репозиторий
+ Репозиторий
Обо мне
{% include cse.html %}
diff --git a/sitemap.xml b/sitemap.xml
index 610f31a..736e8aa 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -10,52 +10,52 @@ projects:
- http://arcanis.name/
+ {{ site.url }}
- http://arcanis.name/ru/
+ {{ site.url }}ru/
- http://arcanis.name/about/
+ {{ site.url }}about/
- http://arcanis.name/ru/about/
+ {{ site.url }}ru/about/
- http://arcanis.name/authors/
+ {{ site.url }}authors/
- http://arcanis.name/ru/authors/
+ {{ site.url }}ru/authors/
- http://arcanis.name/blog/
+ {{ site.url }}blog/
- http://arcanis.name/ru/blog/
+ {{ site.url }}ru/blog/
- http://arcanis.name/blog/archive/
+ {{ site.url }}blog/archive/
- http://arcanis.name/ru/blog/archive/
+ {{ site.url }}ru/blog/archive/
{% for post in site.posts %}
- http://arcanis.name{{ post.url }}
+ {{ site.url }}{{ post.url }}
{% endfor %}
- http://arcanis.name/projects/
+ {{ site.url }}projects/
- http://arcanis.name/ru/projects/
+ {{ site.url }}ru/projects/
{% for proj in page.projects %}
- http://arcanis.name/projects/{{ proj }}/
+ {{ site.url }}projects/{{ proj }}/
- http://arcanis.name/ru/projects/{{ proj }}/
+ {{ site.url }}ru/projects/{{ proj }}/
{% endfor %}