Put p-name on the e-content element as well if there's no actual entry name
This commit is contained in:
parent
1a9c782666
commit
8099912fdc
1 changed files with 5 additions and 2 deletions
|
@ -2,8 +2,11 @@
|
||||||
<div .card-body>
|
<div .card-body>
|
||||||
$maybe name <- entryName entry
|
$maybe name <- entryName entry
|
||||||
<h4 .p-name .card-title>#{name}
|
<h4 .p-name .card-title>#{name}
|
||||||
<div .e-content>
|
<div .e-content>
|
||||||
#{entryContent entry}
|
#{entryContent entry}
|
||||||
|
$nothing
|
||||||
|
<div .e-content.p-name>
|
||||||
|
#{entryContent entry}
|
||||||
<div .card-footer>
|
<div .card-footer>
|
||||||
$maybe author <- maybeAuthor
|
$maybe author <- maybeAuthor
|
||||||
<a .p-author.h-card href=@{HomeR}>
|
<a .p-author.h-card href=@{HomeR}>
|
||||||
|
|
Loading…
Reference in a new issue