all repos — h3rald @ 37edce72d5797cf649ba2768ab17509174eccea0

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>