This commit is contained in:
Eloïse Piret 2016-09-21 17:53:32 +02:00
parent 6b5bb351c1
commit 923851a697

4
Rules
View file

@ -28,11 +28,13 @@ preprocess do
academic_years.each do |year|
@items.create(
'',
{ academic_year: year },
{ academic_year: year, title: "Blog" },
"/archives/#{year}-#{year + 1}.html",
binary: false
)
end
academic_years_items[academic_years.max][:navigable] = true
end
#