hugo-theme-stack/docs/config/default-image.md
Jimmy Cai 692804498d doc: documentation is now in the same repository as the code
Demo site will be generated in subfolder /demo
2023-09-11 18:16:29 +02:00

670 B

Default Image

The default image is the image that will be used on a page if no featured image is set. This is useful for Open Graph and Twitter cards.

opengraph

The default image for Open Graph and Twitter.

opengraph.enabled

  • Type: bool
  • Default: false

Enable the default image for Open Graph and Twitter.

opengraph.src

  • Type: string

Path to the image file.

opengraph.local

  • Type: bool
  • Default: false

If true, the image is a local file, and must be placed under assets folder. Otherwise, it is a remote URL.

For example, if src is set to img/default.jpg, the image file must be placed under assets/img/default.jpg.