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>
|
||||
$maybe name <- entryName entry
|
||||
<h4 .p-name .card-title>#{name}
|
||||
<div .e-content>
|
||||
#{entryContent entry}
|
||||
<div .e-content>
|
||||
#{entryContent entry}
|
||||
$nothing
|
||||
<div .e-content.p-name>
|
||||
#{entryContent entry}
|
||||
<div .card-footer>
|
||||
$maybe author <- maybeAuthor
|
||||
<a .p-author.h-card href=@{HomeR}>
|
||||
|
|
Loading…
Reference in a new issue