From 1706887633b92d98180a72cc2afd5337e8bffae7 Mon Sep 17 00:00:00 2001 From: mat ess Date: Sat, 13 Aug 2022 22:05:48 -0400 Subject: [PATCH] Add rel=me links --- config.toml | 7 +++++++ templates/index.html | 13 +++++++++++++ 2 files changed, 20 insertions(+) diff --git a/config.toml b/config.toml index 3a799ae..08fb453 100644 --- a/config.toml +++ b/config.toml @@ -42,3 +42,10 @@ menu = [ { name = "git", url = "https://git.mat.services/mat", external = true }, ] +me_links = [ + { name = "github", url = "https://github.com/matthewess" }, + { name = "gitlab", url = "https://gitlab.com/matthewess" }, + { name = "pijul nest", url = "https://nest.pijul.org/mat" }, + { name = "lobste.rs", url = "https://lobste.rs/u/mat" }, +] + diff --git a/templates/index.html b/templates/index.html index 477bd51..f93d74f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,4 +2,17 @@ {% block main_content %} {{ post_macros::page_header(title="a sadware company")}} + +also on +{% for me in config.extra.me_links %} +{%- if loop.last -%} +and +{%- endif -%} +{{ me.name }} +{%- if not loop.last -%} +, +{%- else -%} +. +{%- endif -%} +{% endfor %} {% endblock main_content %} \ No newline at end of file