Add ability to select/order project pages in main menu (#487) and footer menu
Add ability to customize footer content per project
Customize Emigrants main menu, footer menu, footer content (#512)
In order to to this:
Added optional menus key in project config which is a hash of menus that appear in the app (currently "main" and "footer"); menus contain a list of menu items (label, url or page)
Added optional folder partials in project's content directory which loads partial html content (currently supports "footer.html.erb"). Can be referred to in project via project.partials["footer"]
Everything will act like before if none of these additions are implemented per project
In order to to this:
menus
key in project config which is a hash of menus that appear in the app (currently "main" and "footer"); menus contain a list of menu items (label, url or page)partials
in project'scontent
directory which loads partial html content (currently supports "footer.html.erb"). Can be referred to in project viaproject.partials["footer"]
Everything will act like before if none of these additions are implemented per project