hugo/hugolib
bep d4acacd4f5 Section menu for the lazy blogger
The current menu system works great, but is too much work if all you want is a simple menu with the sections as menu items, and having these menu items connected to the pages in a way that enables setting the correct menu item as active for both the section lists and the pages itself.

This commit adds a new option `SectionPagesMenu' which, if set, will create a new menu with that name with all the sections as menu items. The pages in the sections will behave as "shadow members" of these section items as `blogpage.HasMenuCurrent "sectionmenu" $sectionmenuitem` will return true.

If a menu item with the same `identifier` is defined in site config, *that* item will take precedence.
2015-05-08 21:28:19 -04:00
..
2015-03-07 00:10:00 +01:00
2015-02-01 22:30:57 +01:00
2015-03-18 12:23:13 +01:00
2015-03-07 12:53:20 +01:00
2015-05-08 21:28:19 -04:00
2015-03-18 11:30:37 +01:00
2015-05-08 21:28:19 -04:00
2014-12-09 09:43:15 -05:00
2014-11-13 22:48:58 -05:00
2015-04-22 18:59:42 +02:00
2015-01-28 18:02:40 -07:00
2015-04-22 18:59:42 +02:00
2015-01-31 22:01:30 +01:00
2015-03-05 23:57:38 +01:00
2015-05-08 21:28:19 -04:00
2015-03-05 23:57:38 +01:00
2014-05-09 23:11:33 -04:00