fix(css): fix some css bugs
This commit is contained in:
10
layouts/_default/_markup/render-link.html
Normal file
10
layouts/_default/_markup/render-link.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<a href="{{ .Destination | safeURL }}"
|
||||
{{- with .Title -}}
|
||||
title="{{ . }}"
|
||||
{{- end -}}
|
||||
{{- if strings.HasPrefix .Destination "http" -}}
|
||||
target="_blank"
|
||||
{{- end -}}
|
||||
>
|
||||
{{- .Text -}}
|
||||
</a>
|
||||
Reference in New Issue
Block a user