Opengraph Support

Minimo has built-in support for Opengraph tags. It will pick up most of the things from your contents' front-matters & Hugo configuration.

You can use these options in you content’s front-matter:

---
audios: []  # for og:audio tags
images: []  # for og:image tags
videos: []  # for og:video tags
---
  • audios [Array of Strings]: path/url of audio files
  • images [Array of Strings]: path/url of image files
  • videos [Array of Strings]: path/url of video files

N.B.: the front-matter syntax shown here is yaml. If you use a different format (e.g. toml), the syntax will change accordingly.

If you add Cover Image to you content, it will also be picked up.

Facebook Opengraph

You can set these options in your config.toml files for better integration with Facebook:

[params.opengraph.facebook]
admins = []  # for fb:admins tags
appID  = ""  # for fb:app_id tag
pageID = ""  # for article:publisher tag
  • admins [Array of Strings]: Facebook Profile IDs
  • appID [String]: Facebook Application ID
  • pageid [String]: Facebook Page ID

Also, the [social.facebook] field from the Author’s Profile data is used for article:author tag.

Twitter Cards

Minimo has built-in support for Twitter Cards.

You can set these options in your config.toml files to provide additional information for Twitter Cards:

[params.opengraph.twitter]
page = "" # for twitter:site tag
  • page [String]: Twitter Page’s Username

Also, the [social.twitter] field from the Author’s Profile data is used for twitter:creator tag.