Update sigmoid link and rel='me'

This commit is contained in:
aethrvmn 2024-10-01 20:08:19 +02:00
parent 3e95a088ea
commit f3deadb352
3 changed files with 3 additions and 5 deletions

View file

@ -1 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if or (strings.HasPrefix .Destination "http") (strings.HasSuffix .Destination "pdf") }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if or (strings.HasPrefix .Destination "http") (strings.HasSuffix .Destination "pdf") }} target="_blank" rel="me"{{ end }}>{{ .Text | safeHTML }}</a>

View file

@ -1 +1 @@
<a rel="me" href="https://sigmoid.social/@aethrvmn"></a>

View file

@ -28,9 +28,7 @@
{{ with .Site.Params.footer }}
<hr/>
{{ $footerHTML := . | markdownify }}
{{ $footerHTML = replace $footerHTML "<a>" "<a target='_blank'>" }}
{{ $footerHTML | safeHTML }}
{{ . | markdownify }}
{{ end }}
</footer>
</body>