From 62ac56117ba12b14398eb0f66e0d89cf5f20a490 Mon Sep 17 00:00:00 2001 From: "the Phoeron\" Colin J.E. Lupton" <thephoeron@protonmail.com> Date: Wed, 24 Aug 2022 12:57:59 -0400 Subject: [PATCH] Add localized-footer GitBook plugin and move license/attribution to FOOTER.md --- CHANGELOG.md | 1 + FOOTER.md | 3 +++ book.json | 6 +++++- index.md | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 FOOTER.md diff --git a/CHANGELOG.md b/CHANGELOG.md index a0687c3..974bc29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Add GitBook plugins: - "hints" - "folding-chapters" + - "localized-footer" ## 2022-08-23 diff --git a/FOOTER.md b/FOOTER.md new file mode 100644 index 0000000..297dfc9 --- /dev/null +++ b/FOOTER.md @@ -0,0 +1,3 @@ +<p align="center"> +<a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nd/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Learn Lisp The Hard Way</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://thephoeron.common-lisp.dev" property="cc:attributionName" rel="cc:attributionURL">"the Phoeron" Colin J.E. Lupton</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International License</a>. +</p> diff --git a/book.json b/book.json index 910a9a7..6187a7f 100644 --- a/book.json +++ b/book.json @@ -5,5 +5,9 @@ "readme": "index.md", "summary": "SUMMARY.md" }, - "plugins": ["hints", "folding-chapters"] + "plugins": ["hints", "folding-chapters", "localized-footer"], + "localized-footer": { + "hline": true, + "filename": "FOOTER.md" + } } diff --git a/index.md b/index.md index 7e38e28..bc82f53 100644 --- a/index.md +++ b/index.md @@ -29,9 +29,11 @@ author: \"the Phoeron\" Colin J.E. Lupton </span> </p> +<!-- <p align="center"> <a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nd/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Learn Lisp The Hard Way</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://thephoeron.common-lisp.dev" property="cc:attributionName" rel="cc:attributionURL">"the Phoeron" Colin J.E. Lupton</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International License</a>. </p> +--> <!-- <div class="alert alert-danger"> -- GitLab