all repos — h3rald @ 6ed04d62656d222df819ecfd406a5afb3166d316

The sources of https://h3rald.com

layouts/legacy_comments.erb

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
-----
filters: 
- erb
-----
<div id="legacy-comments">
	<h3>Legacy Comments</h3>
	<p>
	<em>These comments were imported automatically from an old version of this web site. Scroll <a href="#idc-container-parent">down</a> for the newest stuff.</em>
	</p>
	<% @item[:comments].each do |c| %>
	<div id="comment-<%=c[:id]%>" class="legacy-comment">
		<div class="lc-header"><%= (c[:url].empty?) ? c[:author] : %{<a href="#{c[:url]}">#{c[:author]}</a>} %></div>
		<div class="lc-body">
			<%= RedCloth.new(c[:body]).to_html %>
		</div>
	</div>
	<% end %>
</div>