----- kind: blog title: Blog menupriority: 3 noSubMenu: true ----- <% content_for :js do %> <% end %> <% number_of_articles=5 number_of_char_for_resume=400 language=@item_rep.path.sub(/\/Scratch\//,'').sub(/\/.*$/,'') last_articles = @items.select do |a| a.reps[0].path =~ /\/#{language}\// && a[:kind] == 'article' end last_articles=last_articles.sort { |x,y| y[:created_at] <=> x[:created_at] }[0..(number_of_articles-1)] %>

en: Last <%= number_of_articles %> Articles fr: Les <%= number_of_articles %> derniers articles

<% last_articles.each do |a| %>
<%= calendar_for( a[:created_at], language ) %>

<%= link_to(a[:title]+%{ »}, a) %>

<%= repair_html ( excerptize( a.reps[0].compiled_content, {:length => number_of_char_for_resume} ).gsub(/]*(\/|><\/img)>/,"") ) %>

fr: <%= link_to(%{en lire plus »}, a, :class => "small") %> en: <%= link_to(%{Read more »}, a, :class => "small") %>


<% end %>

Tag Cloud

<%= tagCloud %>

Archives

<%= generateBlogSubMenu(language) %>