← Back
Meta
The meta component adds context to the page template when building your app for publication. The following variables are available and will be inserted as <meta>
properties into the head of your HTML page if you define them:
Props
- title
string
the page title.
- description
string
A short description of your project.
- url
string
The canonical URL from this project.
- twitterHandle
string
The author's twitter handle, it will create a link in the twitter card.
- shareImageUrl
string
The URL of an image to be shared on social media (twitter cards, etc.). This must be a fully qualified URL, e.g. https://idyll-lang.github.io/images/logo.png.
- shareImageWidth
string
The width of the share image in pixels.
- shareImageHeight
string
The height of the share image in pixels.