Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/gohugoioTheme2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-03 17:20:23 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-03 18:07:15 +0300
commit145527913c4a87e976e70af82b6eeb33c10340a5 (patch)
tree5d8958ab89b1a84a61b07cea26e3e5b48670fe5c /layouts
parent53dbfdb3cbf70d9444d50fa8ad9b0e58a1153405 (diff)
Misc adjustments
Closes #5 Closes #6 Closes #7
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/page.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layouts/_default/page.html b/layouts/_default/page.html
index af30fff..339df7d 100644
--- a/layouts/_default/page.html
+++ b/layouts/_default/page.html
@@ -29,4 +29,28 @@
{{- partial "docs/functions-signature.html" . -}}
{{ .Content }}
+
+
+ <hr />
+ {{ with .File }}
+ <div class="mt-8">
+ <a
+ href="{{ path.Join site.Params.ghrepo `edit/master/content` .Lang .Path }}"
+ class="inline-flex items-center">
+ <span class="mr-2">Edit this file on GitHub</span>
+ {{ partial "svg/link-ext.svg" (dict "fill" "#333" "size" "14") }}
+ </a>
+ </div>
+ {{ end }}
+
+
+ <div class="mt-4 text-gray-300 text-sm">
+ Last updated:
+ {{ .Lastmod.Format "January 2, 2006" }}{{ with .GitInfo }}
+ :
+ <a href="{{ site.Params.ghrepo }}commit/{{ .Hash }}"
+ >{{ .Subject }} ({{ .AbbreviatedHash }})</a
+ >
+ {{ end }}
+ </div>
</div>