diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-09-20 22:27:35 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-09-20 22:27:35 +0000 |
| commit | 9b5f3fad7068298265dbbc8a65077f7917a090a5 (patch) | |
| tree | 0905b29eb7c03d6bc6e16dd1ebcd1ec9b6b83320 /themes/hugo-book/layouts/partials/docs/footer.html | |
| parent | super simple setup guide (diff) | |
updated hugo-book theme
Diffstat (limited to '')
| -rw-r--r-- | themes/hugo-book/layouts/partials/docs/footer.html | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/themes/hugo-book/layouts/partials/docs/footer.html b/themes/hugo-book/layouts/partials/docs/footer.html deleted file mode 100644 index 77e96d8..0000000 --- a/themes/hugo-book/layouts/partials/docs/footer.html +++ /dev/null @@ -1,27 +0,0 @@ -<div class="flex flex-wrap justify-between"> - -{{ if and .GitInfo .Site.Params.BookRepo }} - <div> - {{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}} - <a class="flex align-center" href="{{ partial "docs/links/commit" . }}" title='{{ i18n "Last modified by" }} {{ .GitInfo.AuthorName }} | {{ $date }}' target="_blank" rel="noopener"> - <img src="{{ "svg/calendar.svg" | relURL }}" class="book-icon" alt="" /> - <span>{{ $date }}</span> - </a> - </div> -{{ end }} - -{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }} - <div> - <a class="flex align-center" href="{{ partial "docs/links/edit" . }}" target="_blank" rel="noopener"> - <img src="{{ "svg/edit.svg" | relURL }}" class="book-icon" alt="" /> - <span>{{ i18n "Edit this page" }}</span> - </a> - </div> -{{ end }} - -</div> - -{{ $script := resources.Get "clipboard.js" | resources.Minify }} -{{ with $script.Content }} - <script>{{ . | safeJS }}</script> -{{ end }} |
