aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/_default/_markup/render-link.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/_default/_markup/render-link.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/_default/_markup/render-link.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/_markup/render-link.html b/generators/hugo/themes/tdro/layouts/_default/_markup/render-link.html
index a8cb6e6..3b266dd 100644
--- a/generators/hugo/themes/tdro/layouts/_default/_markup/render-link.html
+++ b/generators/hugo/themes/tdro/layouts/_default/_markup/render-link.html
@@ -1,4 +1,4 @@
-{{ $link := .Destination }}
+{{- $link := .Destination -}}
{{ $isRemote := strings.HasPrefix $link "http" }}
{{- if not $isRemote -}}
{{ $url := urls.Parse .Destination }}