all repos — h3rald @ 0e7c2c1e3f010871f2018d2016e9fc21410733cf

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"><%=	"Tagged as: "+@article.attributes[:tags].map{ |t| %{<a href="/tags/#{t}" class="tag">#{t}</a>} }.join(", ") %>
	</div>
	<% end %><%	if (@article.attributes[:summary] && !@no_summary) then %><div class="article-summary"><%= @article.attributes[:summary] %>
	</div><% end %>
</div>