idk?
This commit is contained in:
parent
6b5bb351c1
commit
923851a697
1 changed files with 3 additions and 1 deletions
4
Rules
4
Rules
|
@ -28,11 +28,13 @@ preprocess do
|
||||||
academic_years.each do |year|
|
academic_years.each do |year|
|
||||||
@items.create(
|
@items.create(
|
||||||
'',
|
'',
|
||||||
{ academic_year: year },
|
{ academic_year: year, title: "Blog" },
|
||||||
"/archives/#{year}-#{year + 1}.html",
|
"/archives/#{year}-#{year + 1}.html",
|
||||||
binary: false
|
binary: false
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
academic_years_items[academic_years.max][:navigable] = true
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue