diff --git a/layouts/404.html b/layouts/404.html
index e69de29..43eceb0 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -0,0 +1 @@
+whoops
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 0e96234..8a5d8c7 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -3,7 +3,7 @@
{{ .Title }}
-
Posted on {{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} DRAFT {{ end }}
+
Опубликовано {{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} DRAFT {{ end }}
{{ if isset .Params "tldr" }}
@@ -28,15 +28,6 @@
{{ end }}
{{ end }}
- {{- $.Scratch.Set "isDisqus" true -}}
-
- {{ if not .Site.DisqusShortname }}
- {{- $.Scratch.Set "isDisqus" false -}}
- {{ end }}
-
- {{- if eq ($.Scratch.Get "isDisqus") true -}}
- {{- partial "disqus.html" . -}}
- {{- end -}}
{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index b453bff..88d62a0 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -5,17 +5,9 @@
{{- end -}}
-
{{ if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
-{{- if (isset .Site.Params "social") -}}
-
{{- end -}}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 30476c8..ab3f39d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -6,9 +6,5 @@
{{ range .Site.Menus.main }}
{{ .Name }}
{{ end }}
- {{ if eq .Site.Params.mode "toggle" -}}
- |
-
- {{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index ad3ae4c..022ac04 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -22,11 +22,6 @@
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
- {{ if and (isset .Site.Params "social") (.Site.Params.useCDN | default false) -}}
-
- {{- else if or (isset .Site.Params "social") (eq .Site.Params.mode "toggle") -}}
-
- {{ end }}
{{ if .Site.Params.useCDN | default false -}}
@@ -39,52 +34,6 @@
{{ $style := resources.Get "css/main.css" | fingerprint }}
- {{- if or (eq .Site.Params.mode "auto") (eq .Site.Params.mode "dark") (eq .Site.Params.mode "toggle") -}}
- {{ $darkstyle := resources.Get "css/dark.css" | fingerprint }}
-
- {{ end }}
-
-
- {{ with .Site.Params.mathjax }}
-
-
-
-
- {{ end }}
-
-
- {{ with .Site.Params.katex }}
-
-
-
-
-
-
- {{ end }}
-
{{- if isset .Site.Params "customcss" }}
{{ range .Site.Params.customCSS }}