From ebfd1dfe84fef4c79db94ffedc5e33306c0fbd57 Mon Sep 17 00:00:00 2001 From: lyremelody Date: Sun, 5 May 2024 17:43:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/docs/footer.html | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html index 624eb01..f9c46d1 100644 --- a/layouts/partials/docs/footer.html +++ b/layouts/partials/docs/footer.html @@ -6,25 +6,24 @@ {{- $commitPath := default "commit" .Site.Params.BookCommitPath -}} + {{ i18n "Last modified by" }} {{ .GitInfo.AuthorName }} | {{ $date }} {{ end }} - + {{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }} -
- - - {{ i18n "Edit this page" }} - -
+
+ + + {{ i18n "Edit this page" }} + +
{{ end }} -{{ $script := resources.Get "clipboard.js" | resources.Minify }} -{{ with $script.Content }} - -{{ end }} \ No newline at end of file + {{ $script := resources.Get "clipboard.js" | resources.Minify }} + {{ with $script.Content }} + + {{ end }}