Add rel=me links
parent
8bcb8c505f
commit
1706887633
|
@ -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" },
|
||||
]
|
||||
|
||||
|
|
|
@ -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 -%}
|
||||
<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 %}
|
Loading…
Reference in New Issue