diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-03-30 02:49:40 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-03-30 02:49:40 -0400 |
commit | 090008eec77d358aaa57b274304049858599becc (patch) | |
tree | ab3c1592de106ef7eef830f1d048c98ff19ab4ab | |
parent | d1ebc33ec86950794748b43dabc20ad7a36761c8 (diff) | |
download | thedroneely.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.html | 2 |
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 }} |