Skip to content

Theme/Plugin API: Static menu for frontend  #47

@ErisDS

Description

@ErisDS

Ghost themes will likely need a menu.
For the time being, this should be static JSON output with two links: home and archives.

  • Create a function which returns the static JSON for the menu
  • Wrap the output function in a filter so that themes / plugins can add and remove items.
  • The menu data should automatically be made available to every frontend view.
  • Create a core handlebars helper which generates semantic HTML for the menu

See the WordPress version of Casper for an example menu: http://john.onolan.org

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions