From 042a1fd2b01209bd5953bf3bb6ba8205430468f2 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Wed, 20 Jan 2021 10:39:11 +0900 Subject: [PATCH] Use Post::get_blog_fqn() in post_card template --- templates/partials/post_card.rs.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/partials/post_card.rs.html b/templates/partials/post_card.rs.html index 72458e23..a941e0cb 100644 --- a/templates/partials/post_card.rs.html +++ b/templates/partials/post_card.rs.html @@ -11,11 +11,11 @@
@if ctx.2.clone().and_then(|u| article.is_author(ctx.0, u.id).ok()).unwrap_or(false) { }

- + @article.title

@@ -33,7 +33,7 @@ @if article.published { ⋅ @article.creation_date.format("%B %e, %Y") } - ⋅ @article.get_blog(ctx.0).unwrap().title + ⋅ @article.get_blog(ctx.0).unwrap().title ⋅ @if !article.published {