Add support for Open Graph tags

This change will allow us to use the `images` property in frontmatter to display a cover image when sharing links to content in social media.

Open Graph support is provided out of the box with Hugo and is a one-line change. See docs: https://gohugo.io/templates/embedded/#open-graph
This commit is contained in:
Sangeeth Sudheer 2024-10-28 11:33:32 +05:30 committed by GitHub
parent 56f4a62fc5
commit e1c2bf3313

View file

@ -29,6 +29,8 @@
<link rel="canonical" href="{{ .Permalink }}"/>
{{ template "_internal/opengraph.html" . }}
{{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }}