feat(partial): add hook and image partial
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
<a href="{{ .Destination | safeURL }}"
|
||||
{{ with .Title -}}
|
||||
title="{{ . }}"
|
||||
{{ end -}}
|
||||
{{ if strings.HasPrefix .Destination "http" -}}
|
||||
target="_blank"
|
||||
{{ end -}}
|
||||
>
|
||||
<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>
|
||||
{{- .Text | safeHTML -}}
|
||||
</a>
|
||||
Reference in New Issue
Block a user