How to Add an Author Menu to your Blog


Note: The API is currently in beta. Some things in the post may change as Ghost solidifies how the API will function.

If you want to have a menu that lists all of the authors on your blog with links to the author pages, here is how you can do that:

  1. Head to your theme files and find where you want to put the menu. We are going to add it to the side menu of the default Casper theme, so we will be putting the menu in partials/navigation.hbs.
  2. We are going to be using the {{get}} helper and the code you will use should look something like this:

    {{get "users" limit="all"}}
        {{#foreach users}}
            //your author menu here
        {{/foreach}}
    {{/get}}
    

    Here is the code for the menu we are adding to Casper:

  3. Restart Ghost and you should see your author menu!
3. Restart Ghost and you should see your author menu!