add og graph meta data to header
See #466 (closed)
The site has no open graph meta data, or any meta data actually.
This adds the minimum of og:graph and other meta data.
- Conditional on what is available.
- Because we don't set a description or excerpt, it truncates the first 130 characters.
- The image is pulled from the image_title set in blog posts, but ultimately we don't set a feature image of any sort of other pages, e.g., the team page.
But... we'd need to have an image setting on the default page layout, I think?
Merge request reports
Activity
Well... I don't really know this templating system, or how ours is set up. But I gave it a try.
I'd love to be able to have custom og:graph metadata, such as a featured image or a hand-written excerpt. I assume those would be custom template variables, but I couldn't figure that out yet :)
Explained it better in the MR description, I think!
Edited by username-removed-303699
Added marketing label
Added 1 commit:
- 7883f217 - fixing some dummy text to test template
@rspeicher I feel good about the state of this change. It allows us to use the blog image for custom meta data, and it has sensible defaults. Took off the WIP!
e.g., no more "all pidge all the time" pic when we share the team page.
We can follow up by exploring customizable templates > #517
Added 1 commit:
- 61d81609 - Fix indentation for meta tags
mentioned in commit c687c850