mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-17 07:48:21 +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
|
## 2.0.1
|
||||||
|
|
||||||
|
* Card shortcode will not longer render the horizontal rule when there is no
|
||||||
|
bottom text to render.
|
||||||
|
|
||||||
## 2.0.0
|
## 2.0.0
|
||||||
|
|
||||||
* Removed content folder and moved out the Fedipage site into a separate repo.
|
* 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>
|
<h3 style="margin:0;text-transform:capitalize">{{ .Get 0 }}</h3>
|
||||||
<small>{{ .Inner }}</small>
|
<small>{{ .Inner }}</small>
|
||||||
</div>
|
</div>
|
||||||
|
{{- if (or (.Get 2) (.Get 3) )}}
|
||||||
<hr style="margin:15px 0 10px 0">
|
<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 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 2 }}</div>
|
||||||
<div>{{ .Get 3 }}</div>
|
<div>{{ .Get 3 }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{- end }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue