hacks-guide-minimal-mistake.../test/_posts/2010-08-05-post-header-overlay-image-og-override.md
Michael Rose 869a0e5b73 Refactor seo.html and support OpenGraph image overrides (#1321)
- Refactor seo.html include and add `page.header.og_image` override
- DRY up handling of page images (`page.header.image`, `page.header.overlay_image`, `page.header.teaser`, and `site.og_image`).
- Allow page images to be set with `header.og_image` page variable in YAML Front Matter as per feature request in #1316.
- Add sample posts for testing `og_image` override
- Set author bio as site OpenGraph default image
- Document `page.header.og_image` OpenGraph override
- Update CHANGELOG and history

Close #1316
2017-10-26 15:50:13 -04:00

679 B

title header categories tags last_modified_at
Post: Overlay Image with OpenGraph Override
overlay_image og_image caption cta_url
/assets/images/unsplash-image-1.jpg /assets/images/page-header-og-image.png Photo credit: [**Unsplash**](https://unsplash.com) https://unsplash.com
Layout
Uncategorized
edge case
image
layout
2017-10-26T15:12:19-04:00

This post has a header image with an OpenGraph override.

header:
  overlay_image: /assets/images/unsplash-image-1.jpg
  og_image: /assets/images/page-header-og-image.png
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
  cta_url: "https://unsplash.com"