html: convert html comments to erb comments.
Avoid emitting useless comments in the html.
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
<!--
|
||||
- path
|
||||
- tags
|
||||
-->
|
||||
<%# path, tags %>
|
||||
|
||||
<section id="search-box">
|
||||
<h1>Search</h1>
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<!--
|
||||
- post_set
|
||||
-->
|
||||
<%# post_set %>
|
||||
|
||||
<div id="excerpt" style="display: none;">
|
||||
<% if post_set.has_artist? %>
|
||||
|
||||
@@ -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 %>">
|
||||
|
||||
Reference in New Issue
Block a user