mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
theme: add keyboard shortcut hints #268
This commit is contained in:
parent
f1ec2d2417
commit
0b5e21f488
1 changed files with 4 additions and 4 deletions
|
@ -58,7 +58,7 @@
|
|||
{{- end }}
|
||||
{{- with .OutputFormats.Get "PRINT" }}
|
||||
<div id="top-print-link">
|
||||
<a class="print-link" title='{{ T "Print-this-chapter" }}' href="{{ .RelPermalink }}">
|
||||
<a class="print-link" title='{{ T "Print-this-chapter" }} (CTRL+ALT+t)' href="{{ .RelPermalink }}">
|
||||
<i class="fas fa-print fa-fw"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -69,7 +69,7 @@
|
|||
{{- if $File }}
|
||||
{{- with $File.Path }}
|
||||
<div id="top-github-link">
|
||||
<a class="github-link" title='{{ T "Edit-this-page" }}' href="{{ $Site.Params.editURL }}{{ replace $File.Dir "\\" "/" }}{{ $File.LogicalName }}" target="blank">
|
||||
<a class="github-link" title='{{ T "Edit-this-page" }} (CTRL+ALT+e)' href="{{ $Site.Params.editURL }}{{ replace $File.Dir "\\" "/" }}{{ $File.LogicalName }}" target="blank">
|
||||
<i class="fas fa-pen fa-fw"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -82,10 +82,10 @@
|
|||
{{- $toc := (and $hastoc (not $currentDisableToc) (not .Params.chapter)) }}
|
||||
<div id="breadcrumbs">
|
||||
<span id="sidebar-toggle-span">
|
||||
<a href="#" id="sidebar-toggle" title='{{ T "Navigation-toggle" }}'><i class="fas fa-bars fa-fw"></i></a>
|
||||
<a href="#" id="sidebar-toggle" title='{{ T "Navigation-toggle" }} (CTRL+ALT+m)'><i class="fas fa-bars fa-fw"></i></a>
|
||||
</span>
|
||||
{{- if $toc }}
|
||||
<span id="toc-menu" title='{{ T "Toc-toggle" }}'><i class="fas fa-list-alt fa-fw"></i></span>
|
||||
<span id="toc-menu" title='{{ T "Toc-toggle" }} (CTRL+ALT+t)'><i class="fas fa-list-alt fa-fw"></i></span>
|
||||
{{- end }}
|
||||
{{- $showBreadcrumb := (and (not .Params.disableBreadcrumb) (not .Site.Params.disableBreadcrumb)) }}
|
||||
{{- if $showBreadcrumb }}
|
||||
|
|
Loading…
Reference in a new issue