submenu for article use subtitle

This commit is contained in:
Yann Esposito (Yogsototh) 2010-04-30 10:00:18 +02:00
parent 5f10e0d64b
commit fec3ea20d9

View file

@ -90,7 +90,7 @@ def generateSubMenu()
link_to_unless_current(p[key],p) link_to_unless_current(p[key],p)
end end
if ! liste.empty? then if ! liste.empty? then
liste = [ link_to_unless_current(page[:title],page) ].concat( liste ) liste = [ link_to_unless_current(page[key],page) ].concat( liste )
'<div id="sousliens"><ul><li>'+liste.join('</li><li>')+'</li></ul></div>' '<div id="sousliens"><ul><li>'+liste.join('</li><li>')+'</li></ul></div>'
else else
return return