Ajout validation mastodon

This commit is contained in:
Gabriel
2025-01-13 10:31:25 +01:00
parent 7422a24b47
commit cd7bdb1098
2 changed files with 6 additions and 1 deletions

View File

@@ -81,6 +81,6 @@ enableRobotsTXT = true
footer = "OzK"
socialIcons = [
{name = "mastodon", url = "https://mastodon.social/@ozk"},
{name = "mastodon", url = "https://mastodon.social/@ozk", rel = "me"},
{name = "mail", url = "mailto:pot.punkuezrevo@overzeuknup.top"},
]

View File

@@ -0,0 +1,5 @@
{{ range .Site.Params.socialIcons }}
<a href="{{ .url }}" rel="{{ with .rel }}{{ . }}{{ else }}noopener{{ end }}">
<span class="icon">{{ .name }}</span>
</a>
{{ end }}