summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/_default/_markup/render-link.html
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-06-26 21:44:28 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-06-26 21:44:28 +0200
commit58e2c9ae87f09dac79ecf962331ae2c51f4ba7f1 (patch)
treed819d1747427f81d1883a715ec60d13d575053e4 /themes/blowfish/layouts/_default/_markup/render-link.html
parentb1a7697b03cfb0143af78993387f758836e842bf (diff)
update the theme
Diffstat (limited to 'themes/blowfish/layouts/_default/_markup/render-link.html')
-rw-r--r--themes/blowfish/layouts/_default/_markup/render-link.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/themes/blowfish/layouts/_default/_markup/render-link.html b/themes/blowfish/layouts/_default/_markup/render-link.html
index 8336169..b6028bf 100644
--- a/themes/blowfish/layouts/_default/_markup/render-link.html
+++ b/themes/blowfish/layouts/_default/_markup/render-link.html
@@ -1,2 +1,7 @@
-<a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"{{ end }} {{ if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }} target="_blank"{{ end }}>
- {{ .Text | safeHTML }}</a> \ No newline at end of file
+<a href="{{ .Destination | safeURL }}"
+ {{- with .Title -}}
+ title="{{ . }}"
+ {{- end }}
+ {{- if or (strings.HasPrefix .Destination "http:") (strings.HasPrefix .Destination "https:") }} target="_blank"{{ end }}>
+ {{- .Text | safeHTML -}}
+</a> \ No newline at end of file