From 4540d66e3baea28c1707d9dad84b3a038b32c919 Mon Sep 17 00:00:00 2001 From: Nikolay Raspopov Date: Thu, 27 May 2021 10:11:13 +0300 Subject: [PATCH] Document removal of internal hugo templates (#345) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 052730c..c879150 100644 --- a/README.md +++ b/README.md @@ -281,6 +281,12 @@ There are a few hugo templates inserted in `` - [Google Analytics](https://gohugo.io/templates/internal/#google-analytics) - [Open Graph](https://gohugo.io/templates/internal/#open-graph) +To disable Open Graph inclusion you can create your own empty file `\layouts\_internal\opengraph.html`. +In fact almost empty not quite empty because an empty file looks like absent for HUGO. For example: +``` + +``` + ## Shortcodes - [Buttons](https://themes.gohugo.io/theme/hugo-book/docs/shortcodes/buttons/)