Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme/Plugin API: Static menu for frontend #47

Closed
4 tasks
ErisDS opened this issue May 19, 2013 · 2 comments
Closed
4 tasks

Theme/Plugin API: Static menu for frontend #47

ErisDS opened this issue May 19, 2013 · 2 comments
Assignees
Milestone

Comments

@ErisDS
Copy link
Member

ErisDS commented May 19, 2013

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

@jgable
Copy link
Contributor

jgable commented May 27, 2013

👀 I'm interested in this.

@ghost ghost assigned jgable May 27, 2013
@ErisDS
Copy link
Member Author

ErisDS commented May 27, 2013

I've assigned it, but have a feeling that Gabor might have asked for it too :/

jgable added a commit to jgable/Ghost that referenced this issue May 28, 2013
@ErisDS ErisDS closed this as completed in 47f49bb May 29, 2013
ErisDS added a commit that referenced this issue May 29, 2013
Add ghostNav helper and filter for themes; closes #47
morficus pushed a commit to morficus/Ghost that referenced this issue Sep 4, 2014
morficus pushed a commit to morficus/Ghost that referenced this issue Sep 4, 2014
morficus pushed a commit to morficus/Ghost that referenced this issue Sep 4, 2014
Add ghostNav helper and filter for themes; closes TryGhost#47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants