Is it possible to add custom options to template in frontmatter configuration? #1112
Replies: 2 comments 3 replies
-
We could definitely consider this. I think someone else suggested a |
Beta Was this translation helpful? Give feedback.
-
Hi, this sounds interesting. For this I basically want to create astro pages that still have the header, sidebar and so on but other than that provide no styling. Would that be the usecase for template empty? |
Beta Was this translation helpful? Give feedback.
-
What version of
starlight
are you using?0.13.0
What is your idea?
In the frontmatter configuration
template
, you can add thecustom
option to eliminate the restrictions of the default page style.When the template is set to custom, there are no built-in components in the page except for the navigation bar at the top. It is empty and has full width.
In this way, the mdx page can not be limited by the internal width and remove unnecessary built-in components.
Why is this feature necessary?
This method is useful when the mdx page needs to be widescreen or when you need to customize the hero to have more display forms.
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions