html: convert html comments to erb comments.

Avoid emitting useless comments in the html.
This commit is contained in:
evazion
2018-08-17 18:55:21 -05:00
parent 3f7b1e0b13
commit 3ae913a707
9 changed files with 10 additions and 28 deletions

View File

@@ -1,6 +1,4 @@
<!--
- post
-->
<%# post %>
<% if post %>
<h2 style="margin-bottom: 1em;">
This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>)