fix post card intro
parent
909e7c8e59
commit
2e545feb99
|
@ -120,6 +120,7 @@ object post {
|
|||
thumbnail(post, _.Small)(cls := "ublog-post-card__image"),
|
||||
span(cls := "ublog-post-card__content")(
|
||||
h2(cls := "ublog-post-card__title")(post.title),
|
||||
showIntro option span(cls := "ublog-post-card__intro")(shorten(post.intro, 100)),
|
||||
post.lived map { live => semanticDate(live.at)(ctx.lang)(cls := "ublog-post-card__over-image") },
|
||||
showAuthor option userIdSpanMini(post.created.by)(ctx.lang)(cls := "ublog-post-card__over-image")
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue