Unable to use {{authors}} on author page


#1

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.


#2

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.


#3

Just to clarify, this is the documentation for author.hbs which outlines what is expected in that file: https://themes.ghost.org/docs/author-context


#4

Thanks @Aileen

I am skipping this and the rest is working fine.


#7

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