aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2022-03-30 02:49:40 -0400
committerThedro Neely <thedroneely@gmail.com>2022-03-30 02:49:40 -0400
commit090008eec77d358aaa57b274304049858599becc (patch)
treeab3c1592de106ef7eef830f1d048c98ff19ab4ab
parentd1ebc33ec86950794748b43dabc20ad7a36761c8 (diff)
downloadthedroneely.com-090008eec77d358aaa57b274304049858599becc.tar.gz
thedroneely.com-090008eec77d358aaa57b274304049858599becc.tar.bz2
thedroneely.com-090008eec77d358aaa57b274304049858599becc.zip
generators/hugo/layouts/_default/_markup/render-link: Remove prefixed white space
-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 }}