summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-19 16:28:56 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-20 10:20:56 +0100
commit20719cdd26af6b90ca075df15d0f7927e87553e8 (patch)
tree70276269b5db23dd887eac129c528101ad29c806
parent218f73027ef58bc7781335933e6d88c49f08308a (diff)
Add copyright footer
-rw-r--r--assets/scss/print/_base.scss4
-rw-r--r--assets/scss/web/_base.scss5
-rw-r--r--data/copyright.yaml6
-rw-r--r--layouts/_default/baseof.html4
4 files changed, 18 insertions, 1 deletions
diff --git a/assets/scss/print/_base.scss b/assets/scss/print/_base.scss
index 4e2afbd..e6e09e0 100644
--- a/assets/scss/print/_base.scss
+++ b/assets/scss/print/_base.scss
@@ -18,3 +18,7 @@ a:link, a:visited, a:hover, a:active {
font-size: 14pt;
margin-bottom: -0.6rem;
}
+
+footer {
+ display: none;
+}
diff --git a/assets/scss/web/_base.scss b/assets/scss/web/_base.scss
index a46cb38..2a6d1fd 100644
--- a/assets/scss/web/_base.scss
+++ b/assets/scss/web/_base.scss
@@ -101,3 +101,8 @@ footer {
margin-top: 1cm;
margin-bottom: 2cm;
}
+
+.footer__copyright {
+ font-size: 12px;
+ &::first-letter { font-size: 16px; }
+}
diff --git a/data/copyright.yaml b/data/copyright.yaml
new file mode 100644
index 0000000..3e56a57
--- /dev/null
+++ b/data/copyright.yaml
@@ -0,0 +1,6 @@
+---
+Footer: |
+ This is copyrighted material, it's not allowed or permitted to be used
+ for the purpose of training or improving machine learning algorithms,
+ including but not limited to artificial intelligence, natural language
+ processing, or data-mining without explicit written consent from the author.
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 36f8072..fff192c 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -29,6 +29,8 @@
<footer>
{{ block "footer" . }}
{{ end }}
+ <div class="footer__copyright">
+ &copy;&nbsp;{{ .Site.Data.copyright.Footer }}
+ </div>
</footer>
</html>
-