From e17d61b46c4102a4d4ba8d1a84d59bbda8fa6b78 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 21 Aug 2020 21:03:05 +0530 Subject: [PATCH] menu : save menu scroll position in localstorage (ux improve) --- layouts/partials/footer.html | 8 ++++++++ layouts/partials/header.html | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 85e72736..12c79084 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -16,6 +16,11 @@ {{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}} \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e2074085..f5874f29 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -11,7 +11,7 @@ {{- end }} {{- if .Site.Menus.main }} -