aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-14 23:59:04 -0700
committerFuwn <[email protected]>2022-04-14 23:59:04 -0700
commitab9db24a9fd7884353730e02e0afdcd175f7183e (patch)
treee52ef40afa883d19fe1ce0f15cfb34ea8cf7f9be
parentfeat: track router creation (diff)
downloadlocus-ab9db24a9fd7884353730e02e0afdcd175f7183e.tar.xz
locus-ab9db24a9fd7884353730e02e0afdcd175f7183e.zip
feat: add explicit licensing terms
-rw-r--r--content/pages/licensing.gmi21
-rw-r--r--src/main.rs6
-rw-r--r--templates/partials/footer.hbs2
3 files changed, 29 insertions, 0 deletions
diff --git a/content/pages/licensing.gmi b/content/pages/licensing.gmi
new file mode 100644
index 0000000..e47d7d7
--- /dev/null
+++ b/content/pages/licensing.gmi
@@ -0,0 +1,21 @@
+# LICENSING
+
+Unless otherwise noted:
+
+* Text: CC BY-SA 4.0
+* Code: CC0
+* Photos: GNU General Public License v3.0
+
+## LICENSES
+
+=> https://creativecommons.org/licenses/by-sa/4.0/ Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
+=> https://creativecommons.org/share-your-work/public-domain/cc0 CC0
+=> https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License v3.0
+
+## NOTICES
+
+These licensing terms only apply to the content found in Gemini responses produced by this capsule. The source code of this Gemini capsule is licensed with The GNU General Public License v3.0.
+
+These licensing terms have been adapted from Hannes Hauswedell's homepage.
+
+=> https://hannes.hauswedell.net/ Hannes Hauswedell's homepage
diff --git a/src/main.rs b/src/main.rs
index b14d89e..c848fb0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -273,6 +273,12 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
);
mount_page!(router, "/interests", "A few interests of Fuwn", "interests");
mount_page!(router, "/skills", "A few skills of Fuwn", "skills");
+ mount_page!(
+ router,
+ "/licensing",
+ "The licensing terms of this Gemini capsule",
+ "licensing"
+ );
info!(
"static mounts took {}ms",
diff --git a/templates/partials/footer.hbs b/templates/partials/footer.hbs
index ce72d38..031c519 100644
--- a/templates/partials/footer.hbs
+++ b/templates/partials/footer.hbs
@@ -23,3 +23,5 @@ Hits: {{ hits }}
=> http://fuwn.i2p/?i2paddresshelper=farkjfnlz6grt55rupbabuhfkvhi7pivwdfwztgcxdklh3db3mfq.b32.i2p I2P
Copyright (C) 2021-2022 Fuwn
+
+=> /licensing Further and more explicit licensing terms can be found here