From bb2f21ad827303a14d243884444d7073d9d9d520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Wed, 24 Jan 2024 01:40:54 -0800 Subject: [PATCH] reorganize links a bit, and add header text --- templates/data/apps.yaml | 12 ++++++++---- templates/data/projects.yaml | 8 +++++--- templates/links.tmpl | 3 +++ 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/templates/data/apps.yaml b/templates/data/apps.yaml index bf08acc..83c895a 100644 --- a/templates/data/apps.yaml +++ b/templates/data/apps.yaml @@ -1,14 +1,18 @@ +StringMap: + words: some things other people wrote that I've hosted LinkMap: - hosted apps: + status: - href: https://kuma.burning.moe/status/amazing-beaver text: burning.moe status page icon: simple-icons:uptimekuma + git: - href: https://git.burning.moe/ text: gitea icon: mdi:git - - href: https://bin.burning.moe/ - text: wastebin - icon: fluent:bin-recycle-20-filled - href: https://gist.burning.moe/ text: gist icon: carbon:paste + misc: + - href: https://bin.burning.moe/ + text: wastebin + icon: fluent:bin-recycle-20-filled diff --git a/templates/data/projects.yaml b/templates/data/projects.yaml index 684c61e..d088a02 100644 --- a/templates/data/projects.yaml +++ b/templates/data/projects.yaml @@ -1,3 +1,5 @@ +StringMap: + words: some things that I've written LinkMap: morrowind lua mods: - href: https://git.burning.moe/celediel/morrowind-a-sinking-feeling @@ -17,9 +19,9 @@ LinkMap: text: assorted mods for Caves of Qud icon: teenyicons:c-sharp-solid misc: - - href: https://git.burning.moe/celediel/poiekolon.nvim - text: poiekolon - neovim plugin to add or toggle a char at the end of a line - icon: simple-icons:lua - href: https://git.burning.moe/celediel/burning.moe text: burning.moe - this website icon: file-icons:go-old + - href: https://git.burning.moe/celediel/poiekolon.nvim + text: poiekolon.nvim - neovim plugin to add or toggle a char at the end of a line + icon: simple-icons:lua diff --git a/templates/links.tmpl b/templates/links.tmpl index 706446d..4b8b18d 100644 --- a/templates/links.tmpl +++ b/templates/links.tmpl @@ -1,5 +1,8 @@ {{- template "base" . -}} {{- define "content" }} + + {{ index .StringMap "words" }} + {{- range $key, $value := .LinkMap }}

{{ $key }}