Modification of parser.rb for page rendering

This commit is contained in:
chris2tof committed 2011-09-01 13:30:01 +08:00
1 parent 492f691469
commit 88397d2708
1 file changed
+5
+5
View File
@@ -101,6 +101,11 @@ module Parser
ret << item.i18n_variable[I18n.locale]
ret << '</a>'
end
c.define_tag 'menu' do |tag|
home = get_homepage
menu = page.design.layout.menu
menu_level(home, 1, menu)
end
end
end