mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
nav: add keyboard shortcut hints #268
This commit is contained in:
parent
b5c98871cb
commit
b0812bb28e
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
|||
<div class="navigation">
|
||||
{{- if and $ispublished ($.Scratch.Get "relearnNextPage") }}
|
||||
{{- with ($.Scratch.Get "relearnNextPage") }}
|
||||
<a class="nav nav-next" href="{{.RelPermalink}}" title="{{.Title}}"><i class="fas fa-chevron-right fa-fw"></i></a>
|
||||
<a class="nav nav-next" href="{{.RelPermalink}}" title="{{.Title}} (🡒)"><i class="fas fa-chevron-right fa-fw"></i></a>
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
<span class="nav nav-next"><i class="fa fa-chevron-right fa-fw"></i></span>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<div class="navigation">
|
||||
{{- if and $ispublished ($.Scratch.Get "relearnPrevPage") }}
|
||||
{{- with ($.Scratch.Get "relearnPrevPage") }}
|
||||
<a class="nav nav-prev" href="{{.RelPermalink}}" title="{{.Title}}"><i class="fas fa-chevron-left fa-fw"></i></a>
|
||||
<a class="nav nav-prev" href="{{.RelPermalink}}" title="{{.Title}} (🡐)"><i class="fas fa-chevron-left fa-fw"></i></a>
|
||||
{{- end}}
|
||||
{{- else }}
|
||||
<span class="nav nav-prev"><i class="fa fa-chevron-left fa-fw"></i></span>
|
||||
|
|
Loading…
Reference in a new issue