mirror of
https://github.com/naoufalzerai/zerai.xyz.git
synced 2025-12-25 06:53:57 +00:00
change theme again :D
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{{- $url := .Destination | safeURL -}}
|
||||
{{- $text := .Text | safeHTML -}}
|
||||
<a href="{{- $url -}}"
|
||||
{{- with .Title -}}title="{{- . -}}"{{- end -}}
|
||||
{{- if strings.HasPrefix $url "http" -}}target="_blank" rel="noopener noreferrer"{{- end -}}>{{- $text -}}</a>
|
||||
Reference in New Issue
Block a user