diff --git a/layouts/404.html b/layouts/404.html index 1a01b36626..33fc908d92 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -24,7 +24,7 @@
-
+

{{ T "title-404" }}

diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3b8df92e39..d2972e00ce 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -27,7 +27,7 @@ {{- partial "menu.html" . }}
-
+
{{- $showPrevNext := (and (not .Params.disableNextPrev) (not .Site.Params.disableNextPrev)) }} diff --git a/static/css/theme.css b/static/css/theme.css index db5e01a2c6..ccc9fb10bc 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -1066,7 +1066,7 @@ a[aria-disabled="true"] { margin-left: 230px; overflow: hidden; } - .sidebar-hidden #overlay { + .sidebar-hidden #sidebar-overlay { background-color: rgba(134, 134, 134, 0.5); bottom: 0; cursor: pointer; diff --git a/static/js/theme.js b/static/js/theme.js index bb042e9419..769eddc424 100644 --- a/static/js/theme.js +++ b/static/js/theme.js @@ -435,7 +435,7 @@ jQuery(function() { scrollToActiveMenu(); var sidebarStatus = 'open'; - jQuery('#overlay').on('click', function() { + jQuery('#sidebar-overlay').on('click', function() { jQuery(document.body).toggleClass('sidebar-hidden'); sidebarStatus = (jQuery(document.body).hasClass('sidebar-hidden') ? 'closed' : 'open'); return false;