Put p-name on the e-content element as well if there's no actual entry name

This commit is contained in:
Danielle McLean 2017-10-13 23:07:17 +11:00
parent 1a9c782666
commit 8099912fdc
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -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}>