summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-05-29 11:36:45 +0200
committerxengineering <me@xengineering.eu>2022-05-29 11:36:45 +0200
commit17f210f037f1c54f6b24ff4b47837cefbfe76dd5 (patch)
tree37ef6541cf47e753fd459dc16e4fdffabc861e7c
parent0ad80fdb076c12e967fc2e4db99fb60a82f3491a (diff)
downloadwebsite-17f210f037f1c54f6b24ff4b47837cefbfe76dd5.tar
website-17f210f037f1c54f6b24ff4b47837cefbfe76dd5.tar.zst
website-17f210f037f1c54f6b24ff4b47837cefbfe76dd5.zip
Add repositories as JSON data file
-rw-r--r--data/repositories.json50
-rw-r--r--themes/bare/layouts/index.html6
2 files changed, 56 insertions, 0 deletions
diff --git a/data/repositories.json b/data/repositories.json
new file mode 100644
index 0000000..9ce3422
--- /dev/null
+++ b/data/repositories.json
@@ -0,0 +1,50 @@
+[
+ {
+ "name":"website",
+ "description":"xengineering's website as a Git repository"
+ },
+ {
+ "name":"birdscan",
+ "description":"Software to take beautiful pictures of birds with a Raspberry Pi camera"
+ },
+ {
+ "name":"dotfiles",
+ "description":"Git repository to track my personal GNU/Linux dotfiles"
+ },
+ {
+ "name":"iot-barcode-scanner",
+ "description":"Service that makes barcode scanners available on the network for IoT usage"
+ },
+ {
+ "name":"ledcontrol",
+ "description":"Firmware project for the STM32F103C8T6 microcontroller to control LED strips"
+ },
+ {
+ "name":"libweb",
+ "description":"Repository with reusable components for web development"
+ },
+ {
+ "name":"pkgbuilds",
+ "description":"Repository with packaging files for the Arch Linux build system"
+ },
+ {
+ "name":"scripts",
+ "description":"Some useful scripts"
+ },
+ {
+ "name":"stlscope",
+ "description":"Simple program to view .stl files"
+ },
+ {
+ "name":"webiot",
+ "description":"Small webserver for my personal Internet of Things (IoT)"
+ },
+ {
+ "name":"xbackup",
+ "description":"Convenience wrapper around the Borg backup tool"
+ },
+ {
+ "name":"xbot",
+ "description":"Software to create simpel chat bots for the XMPP/Jabber protocol"
+ }
+]
diff --git a/themes/bare/layouts/index.html b/themes/bare/layouts/index.html
index 6d11e7a..672a031 100644
--- a/themes/bare/layouts/index.html
+++ b/themes/bare/layouts/index.html
@@ -31,6 +31,12 @@
{{.Content}}
+ <ul>
+ {{ range $.Site.Data.repositories }}
+ <li>{{ .name }} - {{ .description }} [ <a href="https://cgit.xengineering.eu/{{ .name }}">Git</a> | <a href="https://cgit.xengineering.eu/{{ .name }}/atom">Atom</a> ]</li>
+ {{ end }}
+ </ul>
+
<br>
<hr>
<footer>License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a></footer>