Add rel=me links

pull/1/head
mat ess 2022-08-13 22:05:48 -04:00
parent 8bcb8c505f
commit 1706887633
2 changed files with 20 additions and 0 deletions

View File

@ -42,3 +42,10 @@ menu = [
{ name = "git", url = "https://git.mat.services/mat", external = true }, { 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" },
]

View File

@ -2,4 +2,17 @@
{% block main_content %} {% block main_content %}
{{ post_macros::page_header(title="a sadware company")}} {{ post_macros::page_header(title="a sadware company")}}
also on
{% for me in config.extra.me_links %}
{%- if loop.last -%}
<span>and </span>
{%- endif -%}
<a href="{{ me.url }}" target="_blank" rel="me noopener noreferrer">{{ me.name }}</a>
{%- if not loop.last -%}
<span>, </span>
{%- else -%}
.
{%- endif -%}
{% endfor %}
{% endblock main_content %} {% endblock main_content %}