From a3dcbc30f900b2e98b90fda9f0cc4f93a3ccb08e Mon Sep 17 00:00:00 2001 From: Sangeeth Sudheer Date: Mon, 28 Oct 2024 11:33:32 +0530 Subject: 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 --- layouts/partials/head.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts/partials') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0a704fd..d2d28e3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,6 +29,8 @@ +{{ template "_internal/opengraph.html" . }} + {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} -- cgit v1.2.3