nitinthewiz / ghost-phantom

Phantom theme for Ghost
MIT License
434 stars 121 forks source link

change author.hbs to correctly reference author parameter #24

Closed UnbounDev closed 9 years ago

UnbounDev commented 9 years ago

Ghost context for the author pages exposes the author parameter, e.g.

{ slug: '',
  id: 1,
  uuid: '',
  name: '',
  email: '',
  image: '',
  cover: 'AUTHOR_COVER_IMAGE',
  ... }

So we should reference author.cover not @blog.cover

haydenbleasel commented 9 years ago

Awesome :+1: I hadn't changed that template since 0.4 or something. Merging.