Add link styles and update image metadata files

This commit is contained in:
Fundor333
2025-08-04 17:35:38 +02:00
parent 02338fd2c5
commit 233b610f7e
11 changed files with 22 additions and 3 deletions

View File

@@ -1 +1,6 @@
<a class="a-post interlink-script" href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }} target="_blank">{{ .Text | safeHTML }}</a>
<a class="a-post interlink-script" href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>
{{- .Text | safeHTML -}}
{{- if strings.HasPrefix .Destination "https" -}}
&nbsp;&nbsp;<i class="fa-whiteboard fa-semibold fa-link"></i>
{{- end -}}
</a>