diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-03-30 02:52:46 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-03-30 02:52:46 -0400 |
commit | 0750d305dda4bb7f02aea4142f0158aa85bd2930 (patch) | |
tree | 7cf3989abc2665355b2ecf62fcc732792d4e922c /generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html | |
parent | 090008eec77d358aaa57b274304049858599becc (diff) | |
download | thedroneely.com-0750d305dda4bb7f02aea4142f0158aa85bd2930.tar.gz thedroneely.com-0750d305dda4bb7f02aea4142f0158aa85bd2930.tar.bz2 thedroneely.com-0750d305dda4bb7f02aea4142f0158aa85bd2930.zip |
generators/hugo/layouts/shortcodes: Remove newlines in side-note titles
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html b/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html index 24a550f..498a901 100644 --- a/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html +++ b/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html @@ -3,7 +3,7 @@ {{ $image := imageConfig $imageFile }} <span class="marginnote-container"> - <label for="{{ $id }}" class="marginnote-toggle marginnote-mark" title="{{ .Inner | markdownify }}"><span>{{ .Get `mark` | markdownify }}</span></label> + <label for="{{ $id }}" class="marginnote-toggle marginnote-mark" title="{{ .Inner | replaceRE "\n" " " | markdownify }}"><span>{{ .Get `mark` | markdownify }}</span></label> <input type="checkbox" id="{{ $id }}" class="marginnote-toggle"> <span class="sans-serif marginnote sideimage {{ .Get `set` }}note"> <a href="{{.Get `source`}}" onclick="return false;"> |