mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
fix bug with error on 404 redirection
fix warnings
This commit is contained in:
parent
175ca26022
commit
2cd047fabb
2
404.html
2
404.html
@ -34,7 +34,7 @@
|
|||||||
if (window.location.replace) window.location.replace(dest)
|
if (window.location.replace) window.location.replace(dest)
|
||||||
else window.location = dest
|
else window.location = dest
|
||||||
}
|
}
|
||||||
if (languageinfo.substr(0,2) == "ru") redirectpage("/ru/404")
|
if (languageinfo.substr(0,2) == "ru") redirectpage("/ru/404.html")
|
||||||
</script>
|
</script>
|
||||||
<!-- redirection to russian page -->
|
<!-- redirection to russian page -->
|
||||||
|
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
<script type="text/javascript">
|
|
||||||
var host = "arcanis.name";
|
|
||||||
if ((host == window.location.host) && (window.location.protocol != "https:"))
|
|
||||||
window.location.protocol = "https";
|
|
||||||
</script>
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
|||||||
document.createElement('figcaption');
|
document.createElement('figcaption');
|
||||||
</script>
|
</script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
{% include ssl-redirect.html %}
|
|
||||||
{% include google_analytics.html %}
|
{% include google_analytics.html %}
|
||||||
{% if page.share == true %}
|
{% if page.share == true %}
|
||||||
{% include header_sharethis.html %}
|
{% include header_sharethis.html %}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
layout: none
|
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
1
feed.xml
1
feed.xml
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
layout: none
|
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
layout: none
|
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
layout: none
|
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
Loading…
Reference in New Issue
Block a user