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,7 +1,4 @@
<!--
- path
- tags
-->
<%# path, tags %>
<section id="search-box">
<h1>Search</h1>

View File

@@ -1,6 +1,4 @@
<!--
- post_set
-->
<%# post_set %>
<div id="excerpt" style="display: none;">
<% if post_set.has_artist? %>

View File

@@ -187,7 +187,7 @@
<meta name="report-server" content="<%= Danbooru.config.reportbooru_server %>">
<% end %>
<!-- Twitter properties -->
<%# Twitter properties %>
<% if @post.twitter_card_supported? %>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="<%= Danbooru.config.twitter_site %>">