mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 04:16:32 +00:00
fix: comentario en un details si tiene summary
This commit is contained in:
parent
1b8685b7ca
commit
df88f80b30
1 changed files with 6 additions and 1 deletions
|
@ -24,4 +24,9 @@
|
|||
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
|
||||
.row.no-gutters
|
||||
.col.p-0
|
||||
- if comment['summary']
|
||||
- summary = comment['summary']
|
||||
= render 'layouts/details', summary: summary do
|
||||
%p= comment['content'].html_safe
|
||||
- else
|
||||
%p= comment['content'].html_safe
|
||||
|
|
Loading…
Reference in a new issue