mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-09 18:34:54 -04:00
Squashed 'themes/gohugoioTheme/' changes from 66249819..68ddff44
68ddff44 docs(partials): remove extra slash in page metadata (#100) b8945ece Update "Contributors" link in site-footer.html 7bf1b1bb Ignore keyboard event if modifier key is held 66f4563e Add more space to nav links in ’previous-next-links.html’ git-subtree-dir: themes/gohugoioTheme git-subtree-split: 68ddff4464309294814a543e2b926e5a12478524
This commit is contained in:
parent
d137efe022
commit
844aef544c
@ -2,5 +2,5 @@
|
||||
<a href="{{ .Permalink }}" class="hide-child link primary-color">
|
||||
<span class="nl3 child">{{ partial "svg/link-permalink.svg" (dict "size" "14px") }}</span>
|
||||
“{{ .Title }}”
|
||||
</a> was last updated: {{ .Lastmod.Format "January 2, 2006" }}{{ with .GitInfo }}: <a class="hide-child link primary-color" href="{{$.Site.Params.ghrepo}}/commit/{{ .Hash }}">{{ .Subject }} ({{ .AbbreviatedHash }})</a>{{end }}
|
||||
</a> was last updated: {{ .Lastmod.Format "January 2, 2006" }}{{ with .GitInfo }}: <a class="hide-child link primary-color" href="{{$.Site.Params.ghrepo}}commit/{{ .Hash }}">{{ .Subject }} ({{ .AbbreviatedHash }})</a>{{end }}
|
||||
</h6>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{if .Prev }}
|
||||
<a href="{{ .Prev.Permalink }}" class="db-l f4 f3-ns link primary-color hover-black fw8">
|
||||
<a href="{{ .Prev.Permalink }}" class="db-l f4 f3-ns link primary-color hover-black fw8 mr4">
|
||||
<span class="v-mid dib">{{ partial "svg/ic_chevron_left_black_24px.svg" (dict "size" "30px") }}</span> {{ .Prev.Title }}
|
||||
</a>
|
||||
{{end}}
|
||||
@ -13,13 +13,13 @@
|
||||
|
||||
<script>
|
||||
document.body.onkeyup = function(e){
|
||||
|
||||
{{ if .Prev }}
|
||||
if (!(e.ctrlKey || e.shiftKey || e.altKey || e.metaKey)) {
|
||||
{{- if .Prev }}
|
||||
if (e.keyCode == '37') { window.location = '{{ .Prev.Permalink }}'; }
|
||||
{{ end }}
|
||||
{{ if .Next }}
|
||||
if (e.keyCode == '39') { window.location = '{{.Next.Permalink }}'; }
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{- if .Next }}
|
||||
if (e.keyCode == '39') { window.location = '{{ .Next.Permalink }}'; }
|
||||
{{- end }}
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<div class="pb3 pt4 w-100 w-50-ns">
|
||||
|
||||
<div class="b f3 light-gray mb3 nested-links tc">
|
||||
By the <a href="https://github.com/gohugoio/hugo/contributors" class="link">Hugo Authors</a><br />
|
||||
By the <a href="https://github.com/gohugoio/hugo/graphs/contributors" class="link">Hugo Authors</a><br />
|
||||
</div>
|
||||
|
||||
<div class="center w4">
|
||||
|
Loading…
x
Reference in New Issue
Block a user