diff options
author | Admin <admin@marx.cafe> | 2022-12-03 12:08:18 -0500 |
---|---|---|
committer | Admin <admin@marx.cafe> | 2022-12-03 12:08:18 -0500 |
commit | 519843fe03807fbcabdc7f3938ca103967ad9277 (patch) | |
tree | f7c80b4de532489092bba786533d06ce4760fe57 | |
parent | d5b75f4fb3aaa5c2f0209db4933a55aa634d5dfd (diff) |
Add footer with text details
-rw-r--r-- | assets/_custom.scss | 5 | ||||
-rw-r--r-- | layouts/partials/docs/footer.html | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/assets/_custom.scss b/assets/_custom.scss index 0de9ae1..6bd596c 100644 --- a/assets/_custom.scss +++ b/assets/_custom.scss @@ -1,3 +1,8 @@ /* You can add custom styles here. */ // @import "plugins/numbered"; + +.book-footer ul { + list-style: none; + padding: 0; +} diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html index 0cb877a..a46795c 100644 --- a/layouts/partials/docs/footer.html +++ b/layouts/partials/docs/footer.html @@ -20,6 +20,17 @@ </div> {{ end }} +<ul> + <li>Copyleft: {{ default .Site.Copyright .Params.copyleft }}</li> + {{ if .Params.author }}<li>Author: {{ .Params.author }}</li>{{ end }} + {{ if .Params.written }}<li>Written: {{ .Params.written }}</li>{{ end }} + {{ if .Params.firstPublished }}<li>First published: {{ .Params.firstPublished }}</li>{{ end }} + {{ if .Params.source }}<li>Source: {{ .Params.source }}</li>{{ end }} + {{ if .Params.translated }}<li>Translated: {{ .Params.translated }}</li>{{ end }} + {{ if .Params.transcription }}<li>Transcription: {{ .Params.transcription }}</li>{{ end }} + {{ if .Params.proofed }}<li>Proofed: {{ .Params.proofed }}</li>{{ end }} +</ul> + </div> {{ $script := resources.Get "clipboard.js" | resources.Minify }} |