all repos — h3rald @ 7147d9f03c2078a0af204345514913071348c1d5

The sources of https://h3rald.com

layouts/article_item.htm

 1
 2
 3
 4
 5
 6
 7
 8
 9
-----
filter: erb
-----
<div class="article-item"> 
	<h4><a href="/articles/<%= @article.attributes[:permalink]%>/"><%= @article.attributes[:title]%></a></h4><% unless (@article.attributes[:tags].empty?) then %><div class="article-tags"><%=	@article.attributes[:tags].map{ |t| %{<span class="tag"><a href="/tags/#{t}/">#{t}</a></span>} }.join(" &middot; ") %>
	</div>
	<% end %><%	if (@article.attributes[:summary] && !@no_summary) then %><div class="article-summary"><%= @article.attributes[:summary] %>
	</div><% end %>
</div>