diff --git a/CHANGELOG.md b/CHANGELOG.md index 1687678f..a979f6bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 2.0.1 +* Card shortcode will not longer render the horizontal rule when there is no + bottom text to render. + ## 2.0.0 * Removed content folder and moved out the Fedipage site into a separate repo. diff --git a/layouts/shortcodes/card.html b/layouts/shortcodes/card.html index d2f91656..b58f3511 100644 --- a/layouts/shortcodes/card.html +++ b/layouts/shortcodes/card.html @@ -12,10 +12,12 @@ inner: description

{{ .Get 0 }}

{{ .Inner }} + {{- if (or (.Get 2) (.Get 3) )}}
{{ .Get 2 }}
{{ .Get 3 }}
+ {{- end }}