mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-15 19:47:57 +01:00
When there is no text to render as a subtext do not render the card horizontal rule
This commit is contained in:
parent
14989d2949
commit
81701442ae
2 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -12,10 +12,12 @@ inner: description
|
|||
<h3 style="margin:0;text-transform:capitalize">{{ .Get 0 }}</h3>
|
||||
<small>{{ .Inner }}</small>
|
||||
</div>
|
||||
{{- if (or (.Get 2) (.Get 3) )}}
|
||||
<hr style="margin:15px 0 10px 0">
|
||||
<div style="display:flex;flex-direction:row;justify-content:space-between;padding:0 15px 10px 15px;font-size:0.8em">
|
||||
<div>{{ .Get 2 }}</div>
|
||||
<div>{{ .Get 3 }}</div>
|
||||
</div>
|
||||
{{- end }}
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue