summaryrefslogtreecommitdiffstats
path: root/docs/themes
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-09-14 08:35:23 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-09-14 08:35:23 +0200
commitb7ca3e1b3a83ef27bef841c319edb5b377cc4102 (patch)
tree9f93b8449d3c12312414f79a71e0d30dc248fd8b /docs/themes
parent9b26b5487b5c5142fe9fb58681fe7d1dac95a291 (diff)
parent13e64d72763bf8d6d92d4cdfc15ed45ee9debfab (diff)
Diffstat (limited to 'docs/themes')
-rw-r--r--docs/themes/gohugoioTheme/layouts/partials/docs/page-meta-data.html2
-rw-r--r--docs/themes/gohugoioTheme/layouts/partials/previous-next-links.html16
-rw-r--r--docs/themes/gohugoioTheme/layouts/partials/site-footer.html2
3 files changed, 10 insertions, 10 deletions
diff --git a/docs/themes/gohugoioTheme/layouts/partials/docs/page-meta-data.html b/docs/themes/gohugoioTheme/layouts/partials/docs/page-meta-data.html
index d8ae74dec..8b3fbbafc 100644
--- a/docs/themes/gohugoioTheme/layouts/partials/docs/page-meta-data.html
+++ b/docs/themes/gohugoioTheme/layouts/partials/docs/page-meta-data.html
@@ -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>
diff --git a/docs/themes/gohugoioTheme/layouts/partials/previous-next-links.html b/docs/themes/gohugoioTheme/layouts/partials/previous-next-links.html
index 0de521527..cd43dd840 100644
--- a/docs/themes/gohugoioTheme/layouts/partials/previous-next-links.html
+++ b/docs/themes/gohugoioTheme/layouts/partials/previous-next-links.html
@@ -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>
diff --git a/docs/themes/gohugoioTheme/layouts/partials/site-footer.html b/docs/themes/gohugoioTheme/layouts/partials/site-footer.html
index 771ec348f..9ae1d2156 100644
--- a/docs/themes/gohugoioTheme/layouts/partials/site-footer.html
+++ b/docs/themes/gohugoioTheme/layouts/partials/site-footer.html
@@ -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">