Hi,
Creating a custom homepage with custom routes, but the Metadata are not coming from that page but the site ones.
A simplified version of my setup and files.
routes.yaml
routes:
/:
data: page.home
template: home
collections:
/blog/:
permalink: /{slug}/
template: index
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
home.hbs
{{!< default}}
{{#page}}
MY_CONTENT_GOES_HERE
{{/page}}
The content is visible on the homepage just fine, but the Metadata is pointing to the website instead of the custom homepage. For example, og:image
, og:description
and so on.
Ghost: 3.40.5
Is this an issue?
Ahmad