all repos — h3rald @ 55cd685e7ecada45e543476efb69324c7d37d8ab

The sources of https://h3rald.com

layouts/legacy_comments.htm

 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>
	<% @page.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>