mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-05 01:03:46 -04:00
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
This commit is contained in:
parent
9acbc2c134
commit
b239f42f6b
3 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
|||
<div class="toc">
|
||||
<details {{if .Params.TocOpen }} open{{ end }}>
|
||||
<summary>
|
||||
<div class="details">{{- i18n "toc" | default "Table of Contents" }}</div>
|
||||
<div class="details" accesskey="c">{{- i18n "toc" | default "Table of Contents" }}</div>
|
||||
</summary>
|
||||
<blockquote>
|
||||
{{- partial "toc.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue