@use template_utils::*;
@use plume_models::posts::Post;
@(ctx: BaseContext, article: Post)
@if article.cover_id.is_some() {
}
@article.subtitle
@Html(i18n!(ctx.1, "By {0}"; format!(
"{}",
escape(&article.get_authors(ctx.0)[0].get_fqn(ctx.0)),
escape(&article.get_authors(ctx.0)[0].name(ctx.0))
)))
@if article.published {
⋅ @article.creation_date.format("%B %e, %Y")
}
⋅ @article.get_blog(ctx.0).title
@if !article.published {
⋅ @i18n!(ctx.1, "Draft")
}