summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-06-08 17:42:59 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-06-08 17:44:18 -0500
commite03c3d3b6e52bc5971bf16d4aa5a77e1587d4b9f (patch)
tree39bf197268a92e4a94e7bb518013d26ed983e62f
parentb949ab0145abb4de123c41e10c6653c97bb14d4c (diff)
fix: add hosted license fileHEADmain
-rw-r--r--content/code/_index.md9
-rw-r--r--content/code/dotfiles.md8
-rw-r--r--content/code/projectr.md11
-rw-r--r--content/code/proxyr.md11
-rw-r--r--content/code/sshr.md11
-rw-r--r--static/LICENSE-MIT.txt21
-rw-r--r--templates/index.html2
7 files changed, 22 insertions, 51 deletions
diff --git a/content/code/_index.md b/content/code/_index.md
deleted file mode 100644
index 3d9d56f..0000000
--- a/content/code/_index.md
+++ /dev/null
@@ -1,9 +0,0 @@
-+++
-title = "Code"
-sort_by = "weight"
-description = "Noteable-ish projects"
-+++
-
-An exhastive list of my projects can be found on
-[SourceHut](https://git.sr.ht/~tobyvin/) and
-[GitHub](https://github.com/tobyvin).
diff --git a/content/code/dotfiles.md b/content/code/dotfiles.md
deleted file mode 100644
index fa54648..0000000
--- a/content/code/dotfiles.md
+++ /dev/null
@@ -1,8 +0,0 @@
-+++
-title = ".dotfiles"
-description = "My personal dotfiles."
-weight = 0
-
-[extra]
-external = "https://sr.ht/~tobyvin/.dotfiles/"
-+++
diff --git a/content/code/projectr.md b/content/code/projectr.md
deleted file mode 100644
index f9380f5..0000000
--- a/content/code/projectr.md
+++ /dev/null
@@ -1,11 +0,0 @@
-+++
-title = "projectr"
-description = "A contextual, MRU sorted, project finder."
-weight = 1
-
-[taxonomies]
-tags = ["rust"]
-
-[extra]
-external = "https://sr.ht/~tobyvin/projectr/"
-+++
diff --git a/content/code/proxyr.md b/content/code/proxyr.md
deleted file mode 100644
index 0c1c312..0000000
--- a/content/code/proxyr.md
+++ /dev/null
@@ -1,11 +0,0 @@
-+++
-title = "proxyr"
-description = "A simple auto-proxy server"
-weight = 3
-
-[taxonomies]
-tags = ["rust"]
-
-[extra]
-external = "https://sr.ht/~tobyvin/proxyr/"
-+++
diff --git a/content/code/sshr.md b/content/code/sshr.md
deleted file mode 100644
index fb0c4d5..0000000
--- a/content/code/sshr.md
+++ /dev/null
@@ -1,11 +0,0 @@
-+++
-title = "sshr"
-description = "A contextual, MRU sorted, ssh indexer."
-weight = 2
-
-[taxonomies]
-tags = ["rust"]
-
-[extra]
-external = "https://sr.ht/~tobyvin/sshr/"
-+++
diff --git a/static/LICENSE-MIT.txt b/static/LICENSE-MIT.txt
new file mode 100644
index 0000000..f421772
--- /dev/null
+++ b/static/LICENSE-MIT.txt
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 Toby Vincent
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/templates/index.html b/templates/index.html
index a1af5e8..9c3a3f1 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -53,7 +53,7 @@
<footer>
This site was built with <a href="https://www.getzola.org/">Zola</a>.
The <a href="{{ config.extra.repository }}">code</a> is licensed under
- <a href="https://opensource.org/licenses/{{ config.extra.license }}">{{ config.extra.license }}</a>.
+ <a href="/LICENSE-{{ config.extra.license }}.txt">{{ config.extra.license }}</a>.
</footer>
</body>
</html>