ComboStrap Page Metadata - Twitter Card
Table of Contents
About
ComboStrap page will render automatically as a summary card in a tweet.
You can optionally add your twitter handle in the cards if configured.
This is page is about the integration of your page as card in twitter. If you want the inverse and embed a tweet in your page, see the tweet page
Preview
List of metadata
The list of metadata that are used in the card are:
- for the description: description
- for the image:
- the twitter image
- otherwise any other conforming image,
- otherwise the default one
- otherwise any conforming logo image
Example of twitter image definition in frontmatter
{
"image": {
"twitter":"image_for_twitter.jpg"
}
}
Configuration
You can set the following configuration:
Name | Description | Default value |
---|---|---|
twitterSiteHandle | the handle name of your twitter account (Example: @combostraweb) | None |
twitterSiteId | the twitter id of your twitter account (Search on Google) | None |
defaultTwitterImage | the image used if an page image was not found (svg is not supported, less than 5MB) | apple-touch-icon.png |
The default site image apple-touch-icon.png is already installed if you have followed the favicon installation guide