diff options
author | tdro <tdro@noreply.example.com> | 2023-01-22 02:42:39 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-01-22 02:42:39 -0500 |
commit | 6c889c658ed71bdc18e5b767053530618dcf1759 (patch) | |
tree | 19d00ab286dd3b73aa7b0b03e5ca1aecee45f3ef /themes/default/layouts/shortcodes/abbr.html | |
parent | 52a3cc202f4f58ee9326924b3a0ecbc29af083b1 (diff) | |
download | canory-6c889c658ed71bdc18e5b767053530618dcf1759.tar.gz canory-6c889c658ed71bdc18e5b767053530618dcf1759.tar.bz2 canory-6c889c658ed71bdc18e5b767053530618dcf1759.zip |
themes/default/layouts: Tighten up the markup
Might be able to get free computation..
Diffstat (limited to 'themes/default/layouts/shortcodes/abbr.html')
-rw-r--r-- | themes/default/layouts/shortcodes/abbr.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/shortcodes/abbr.html b/themes/default/layouts/shortcodes/abbr.html index bad8895..2a87233 100644 --- a/themes/default/layouts/shortcodes/abbr.html +++ b/themes/default/layouts/shortcodes/abbr.html @@ -2,7 +2,7 @@ {{- $title := default "Too long, didn't read" (.Get "title" | default (.Get 1)) -}} {{- $hash := print (truncate 8 "" (sha256 $abbr)) .Ordinal -}} -<input hidden type="checkbox" id="abbr-{{ $hash }}" /> +<input hidden="" type="checkbox" id="abbr-{{ $hash }}" /> {{- /* This comment removes trailing newlines and white spaces. */ -}} <abbr title="{{ $title }}"><label for="abbr-{{ $hash }}">{{ $abbr | markdownify }}</label></abbr> {{- /* This comment removes trailing newlines and white spaces. */ -}} |