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