37 lines
868 B
Plaintext
37 lines
868 B
Plaintext
---
|
|
pageable: true
|
|
per_page: 12
|
|
---
|
|
<div class="large-10 columns" role="content">
|
|
<h2>Mit <em><%= tagname %></em> getaggte Artikel.</h2>
|
|
|
|
<% if paginate && num_pages > 1 %>
|
|
<p>Page <%= page_number %> of <%= num_pages %></p>
|
|
|
|
<% if prev_page %>
|
|
<p><%= link_to 'Previous page', prev_page %></p>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<ul>
|
|
<% page_articles.each_with_index do |article, i| %>
|
|
<li><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></li>
|
|
<% end %>
|
|
</ul>
|
|
|
|
<% if paginate %>
|
|
<% if next_page %>
|
|
<p><%= link_to 'Next page', next_page %></p>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<h3>Andere Tags</h3>
|
|
<% blog(:bascht).tags.sort.each do |tag| %>
|
|
<%= link_to tag[0], tag_path(tag[0], :bascht) %>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
<div class="large-2 columns">
|
|
<%= partial "blog-calendar" %>
|
|
</div>
|