Hide subtitle when no papers and always display content.

This commit is contained in:
chiu committed 2024-08-18 10:51:37 +08:00
1 parent a5f435c547
commit ea6ad70e25
1 file changed
+2 -2
@@ -181,11 +181,11 @@
<%= t('e_paper.description') %>:
</span>
<span>
<%= paper.description.html_safe %>
<% if papers_data.present? %>
<%= paper.description.html_safe %>
<br>
<%= paper.content.html_safe %>
<% end %>
<%= paper.content.html_safe %>
</span>
</div>
</div>