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
|
|
|
<%
|
2010-07-06 22:26:26 +00:00
|
|
|
number_of_articles=20
|
2010-04-26 10:20:11 +00:00
|
|
|
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)]
|
2010-09-28 15:31:37 +00:00
|
|
|
|
|
|
|
def dArr
|
|
|
|
return %{<span class="nicer">⇓</span>}
|
|
|
|
end
|
2010-04-26 10:20:11 +00:00
|
|
|
%>
|
|
|
|
|
2010-09-28 15:31:37 +00:00
|
|
|
* [Last <%= number_of_articles %> articles <%=dArr%>](#last-<%= number_of_articles %>-articles)
|
|
|
|
* [Tag Cloud <%=dArr%>](#tagcloud)
|
|
|
|
* [Archives <%=dArr%>](#archives)
|
|
|
|
* [Two words about the content <%=dArr%>](#two-words-about-the-content)
|
2010-06-17 16:49:38 +00:00
|
|
|
|
|
|
|
newcorps
|
|
|
|
|
2010-04-26 10:20:11 +00:00
|
|
|
## 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-07-06 22:26:26 +00:00
|
|
|
<li style="line-height: 1em; margin: 0;">
|
2010-05-07 14:42:45 +00:00
|
|
|
<%= calendar_for(a[:created_at], language) %>
|
2010-07-06 22:26:26 +00:00
|
|
|
<%
|
|
|
|
linktext=%{<span class="sc">#{a[:title]}</span>}
|
|
|
|
if a[:subtitle]
|
|
|
|
linktext<<=%{ <br> <span class="small" style="margin-left: 5em"><span class="small"><em>#{a[:subtitle]}</em></span></span>}
|
|
|
|
end
|
|
|
|
%>
|
|
|
|
<%= link_to(linktext, a) %>
|
2010-04-26 10:20:11 +00:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
|
2010-09-28 15:31:37 +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
|
|
|
|
|
2010-06-17 16:49:38 +00:00
|
|
|
## Two words about the content
|
2010-02-17 12:27:01 +00:00
|
|
|
|
|
|
|
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…
|
|
|
|
|
|
|
|
<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.
|
|
|
|
|