From f5a839492f0b6459e5511bd92ad90b14d9a639ca Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Sat, 18 May 2024 17:37:14 -0500 Subject: feat: add git.tobyvin.dev as code repository --- config.toml | 2 +- content/about.md | 3 ++- templates/index.html | 8 ++++---- templates/macros.html | 3 +-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config.toml b/config.toml index c55fb48..d01371f 100644 --- a/config.toml +++ b/config.toml @@ -16,7 +16,7 @@ highlight_themes_css = [ ] [extra] -repository = "https://git.sr.ht/~tobyvin/tobyvin.dev" +repository = "https://git.tobyvin.dev/tobyvin.dev" license = "MIT" [[extra.meta]] diff --git a/content/about.md b/content/about.md index dc39063..f649b3e 100644 --- a/content/about.md +++ b/content/about.md @@ -19,7 +19,7 @@ enjoyed many other languages such as C, Python, and C#. As for my development environment, in short, I use Neovim on Arch Linux. The slightly longer version can be found in my dotfiles which are available on -[Sourcehut] and [GitHub]. +[cgit], [Sourcehut], and [GitHub]. In the end, it's the designing of systems, defining of logic, and solving of problems that I love. The tools I use; language, editor, or otherwise; are @@ -40,5 +40,6 @@ or just good conversations. :) {{ meta() }} +[cgit]: https://git.tobyvin.dev [Sourcehut]: https://sr.ht/~tobyvin/.dotfiles [GitHub]: https://github.com/tobyvin/.dotfiles diff --git a/templates/index.html b/templates/index.html index 037e423..a1af5e8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -31,11 +31,11 @@
diff --git a/templates/macros.html b/templates/macros.html index 43b19e1..d5f1c57 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -10,8 +10,7 @@ {% endmacro %} {# render navbar item #} -{% macro nav_item(name, path) %} - {% set url = get_url(path=path,trailing_slash=true) %} +{% macro nav_item(name, url) %} {{ name }} {% endmacro %} {# render table of contents recursively #} -- cgit v1.2.3-70-g09d2