Initial commit.
This commit is contained in:
11
themes/blowfish/layouts/_default/_markup/render-link.html
Normal file
11
themes/blowfish/layouts/_default/_markup/render-link.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<a
|
||||
href="{{ .Destination | safeURL }}"
|
||||
{{- with .Title -}}
|
||||
title="{{ . }}"
|
||||
{{- end }}
|
||||
{{- if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }}
|
||||
target="_blank"
|
||||
{{ end }}>
|
||||
{{- .Text | safeHTML -}}
|
||||
</a>
|
||||
{{- /* Trim EOF */ -}}
|
||||
Reference in New Issue
Block a user