mirror of https://github.com/gohugoio/hugo
27 lines
840 B
HTML
27 lines
840 B
HTML
<div class="print:hidden">
|
|
<hr class="border-t border-gray-200 dark:border-gray-800 my-10 lg:my-16">
|
|
|
|
<div class="text-gray-800 dark:text-gray-300 font-semibold">
|
|
Last updated:
|
|
{{ .Lastmod.Format "January 2, 2006" }}{{ with .GitInfo }}
|
|
:
|
|
<a
|
|
class="text-blue-600 hover:text-blue-500"
|
|
href="{{ $.Site.Params.ghrepo }}commit/{{ .Hash }}"
|
|
>{{ .Subject }} ({{ .AbbreviatedHash }})</a
|
|
>
|
|
{{ end }}
|
|
</div>
|
|
|
|
{{ with .File }}
|
|
{{ if not .IsContentAdapter }}
|
|
{{ $href := printf "%sedit/master/content/%s/%s" site.Params.ghrepo $.Lang .Path }}
|
|
<a
|
|
href="{{ $href }}"
|
|
class="mt-4 inline-block not-prose bg-blue-600 hover:bg-blue-800 text-white hover:text-white font-bold py-2 px-4 rounded">
|
|
Improve this page
|
|
</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|