Modification of parser.rb for page rendering
This commit is contained in:
1 parent
492f691469
commit
88397d2708
1 file changed
+5
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user