diff --git a/templates/partials/comment.rs.html b/templates/partials/comment.rs.html index 499f9bbb..f9f78da3 100644 --- a/templates/partials/comment.rs.html +++ b/templates/partials/comment.rs.html @@ -6,6 +6,7 @@ @if let Some(comm) = Some(&comment_tree.comment) { @if let Ok(author) = comm.get_author(ctx.0) { +@* comment-@comm.id is used for link *@
@@ -15,8 +16,9 @@ @author.fqn

- @if let Some(ref ap_url) = comm.ap_url { - @comm.creation_date.format("%B %e, %Y %H:%M") + @if let Ok(post) = comm.get_post(ctx.0) { + @* comment-@comm.id is same to this div's id attribute *@ + @comm.creation_date.format("%B %e, %Y %H:%M") }