mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-17 12:55:12 -05:00
feat: fixed receipts
This commit is contained in:
parent
2295c85fca
commit
97b9223223
18 changed files with 185 additions and 102 deletions
|
@ -263,7 +263,6 @@ articleMaker article =
|
|||
, spacing 3
|
||||
, F.regular
|
||||
, F.alignLeft
|
||||
, F.size 16
|
||||
, paddingEach
|
||||
{ top = 8
|
||||
, bottom = 0
|
||||
|
@ -313,7 +312,7 @@ articleRows article =
|
|||
, infoRow "Duration:" (String.fromInt (wordCount article.articleBody // 225) ++ " minutes")
|
||||
, infoRow "Words:" (String.fromInt (wordCount article.articleBody))
|
||||
]
|
||||
++ (if referenceCount > 2 then
|
||||
++ (if referenceCount >= 2 then
|
||||
[ infoRow "Sources:" (String.fromInt referenceCount) ]
|
||||
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue