diff --git a/layouts/404.html b/layouts/404.html index 5c960ddc0a..30186b895e 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -38,7 +38,7 @@ {{- partial "custom-header.html" . }} -
+
@@ -50,6 +50,6 @@

Page not found!

-
+ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ce815c9f16..a8124a0f34 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -15,7 +15,7 @@ {{- end }} {{- end }} - +
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c8a2699f55..347af56733 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -38,7 +38,7 @@ {{- partial "menu.html" . }} -
+
{{- if not .IsHome }} diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index f906f088b7..8b577c64f2 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -11,13 +11,13 @@ {{- end }}
{{- if not .Site.Params.disableLandingPageButton }} - +
{{- end }}
{{- $disableShortcutsTitle := .Site.Params.DisableShortcutsTitle }} {{- with .Site.Menus.shortcuts }} -
+

{{ if not $disableShortcutsTitle }}{{ T "Shortcuts-Title" }}{{ end }}

-
+
{{- end }} {{- if or .Site.IsMultiLingual $showvisitedlinks }} -
+

    {{- if and .Site.IsMultiLingual (not .Site.Params.DisableLanguageSwitchingButton) }} @@ -86,11 +86,11 @@
  • {{ T "Clear-History" }}
  • {{- end }}
-
+ {{- end }} - + {{- define "section-tree-nav" }} diff --git a/static/js/relearn.js b/static/js/relearn.js index 2b725491df..584c530d8b 100644 --- a/static/js/relearn.js +++ b/static/js/relearn.js @@ -520,7 +520,7 @@ jQuery(function() { }); $('a[rel="lightbox"]').featherlight({ - root: 'section#body' + root: 'div#body' }); sessionStorage.setItem(jQuery('body').data('url'), 1);