Referenced article list as snippet
This commit is contained in:
parent
ce21628455
commit
01ebb3a363
3 changed files with 11 additions and 16 deletions
9
layouts/referred_article_list.erb
Normal file
9
layouts/referred_article_list.erb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<section itemscope itemtype="http://schema.org/Blog">
|
||||
<% latest_articles_referred_to(@refitem.identifier,@count).each do |item| %>
|
||||
<div class="span8">
|
||||
<%= render 'item_intro', :item => item, :extended => true %>
|
||||
<p>
|
||||
<a itemprop="blogPost" href="<%= item.path() %>">Zum Artikel</a>
|
||||
</div>
|
||||
<% end %>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue