From b239f42f6b419c1835ffdaa8286c7fd638a55303 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 30 Oct 2020 01:15:29 +0530 Subject: [PATCH] Add accesskeys (attribute specifies a shortcut key to activate/focus an element.) c - ToC Open/Close g- Go To Top h - Home (according to current lang) t - Theme toggle more: https://www.w3schools.com/tags/att_global_accesskey.asp --- layouts/_default/single.html | 2 +- layouts/partials/footer.html | 2 +- layouts/partials/header.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b13fb74a..72fe4a5f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -27,7 +27,7 @@
-
{{- i18n "toc" | default "Table of Contents" }}
+
{{- i18n "toc" | default "Table of Contents" }}
{{- partial "toc.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index f6d407e2..a3ee83da 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,7 +9,7 @@ · Theme️ PaperMod - +