ComboStrap Page Metadata - Twitter Card

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

You can preview a card page before tweeting it at: https://cards-dev.twitter.com/validator

_


List of metadata

The list of metadata that are used in the card are:

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

Powered by ComboStrap