Modification of parser.rb for page rendering
This commit is contained in:
parent
492f691469
commit
88397d2708
|
@ -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