scratch/content/html/en/blog.md

70 lines
1.5 KiB
Markdown
Raw Normal View History

2010-04-29 13:43:21 +00:00
-----
2010-02-17 12:27:01 +00:00
kind: blog
title: Blog
menupriority: 2
2010-04-26 12:19:33 +00:00
noSubMenu: true
2010-02-17 12:27:01 +00:00
-----
2010-04-26 10:20:11 +00:00
<%
number_of_articles=10
number_of_char_for_resume=800
language=@item_rep.path.sub(/\/Scratch\//,'').sub(/\/.*$/,'')
last_articles = articles.select do |a|
a.reps[0].path =~ /\/#{language}\//
end
last_articles=last_articles.sort { |x,y| y[:created_at] <=> x[:created_at] }[0..(number_of_articles-1)]
%>
## Last <%= number_of_articles %> articles
2010-05-05 19:54:48 +00:00
<ul style="list-style-type: none; margin: 0;">
2010-04-26 10:20:11 +00:00
<% last_articles.each do |a| %>
2010-05-05 19:54:48 +00:00
<li style="line-height: 3em; margin: 0;">
2010-05-07 14:42:45 +00:00
<%= calendar_for(a[:created_at], language) %>
<%= link_to(a[:title], a) %>
2010-04-26 10:20:11 +00:00
</li>
<% end %>
</ul>
2010-04-26 12:19:33 +00:00
<a href="#archives">Archives &darr;</a>
2010-04-26 10:20:11 +00:00
newcorps
2010-02-17 12:27:01 +00:00
<div>
2010-04-29 09:11:41 +00:00
<%= tagCloud %>
2010-02-17 12:27:01 +00:00
</div>
2010-05-05 12:38:04 +00:00
enddiv
## Archives
2010-05-07 14:42:45 +00:00
<%= generateBlogSubMenu(language) %>
2010-04-26 10:20:11 +00:00
2010-02-17 12:27:01 +00:00
newcorps
## Two word about the content
Here you'll can find mostly technical articles.
Some are just reminder of technical tips.
But some are long and technically detailled articles.
---
I do my best to traduce each page in french and in english.
It not always easy. English is not my natural language.
I make many errors, orthographic, grammatical, typographical&hellip;
<strong> Thanks not to judge me based on these errors! And don't forget content is more important than presentation! </strong>
The first impression I'll let you if we meet in real life should be different from the one I let you based on my website.
I wish you to find something useful or interesting on this website.