From a0b661fffed98316e82855bd6f04b9a52162f9eb Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 28 Nov 2021 08:46:41 +0900 Subject: [PATCH] Make template follow change of Rust --- templates/partials/comment.rs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/comment.rs.html b/templates/partials/comment.rs.html index a1bafec3..499f9bbb 100644 --- a/templates/partials/comment.rs.html +++ b/templates/partials/comment.rs.html @@ -4,7 +4,7 @@ @(ctx: BaseContext, comment_tree: &CommentTree, in_reply_to: Option<&str>, blog: &str, slug: &str) -@if let Some(ref comm) = Some(&comment_tree.comment) { +@if let Some(comm) = Some(&comment_tree.comment) { @if let Ok(author) = comm.get_author(ctx.0) {