Unable to use {{authors}} on author page

Hi Everyone,

I am updating my theme Paper, everything was working fine till I decided to upload it on a demo bitnami ghost stack.

During install, it gave me this error
37%20PM

But according to documentation /authors/slug gives access to {{author}} context and it is deprecated. Tried using {{authors}} but got blank page.

Help me please.

Hey @Rohitkrops

The author.hbs template is already within the author context and is an exception of the deprecation. This means that you can still use {{author}} on the author.hbs template.

I’m sorry, if the documentation is misleading there, we’ll have a look and see how we can improve it.

You can also use https://gscan.ghost.org directly to check your theme for errors, even before you upload it to your publication.

Just to clarify, this is the documentation for author.hbs which outlines what is expected in that file: Ghost Handlebars Themes - Building a custom Ghost theme - Docs

1 Like

Thanks @Aileen

I am skipping this and the rest is working fine.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.