Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alex-shpak/hugo-book.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Raspopov <raspopov@cherubicsoft.com>2021-05-27 10:11:13 +0300
committerGitHub <noreply@github.com>2021-05-27 10:11:13 +0300
commit4540d66e3baea28c1707d9dad84b3a038b32c919 (patch)
treeab1c3de436b7ee38a11b852de150abee2bfadc66
parentfde10f131980a10c5c2c1a1612c7b42daf55360b (diff)
Document removal of internal hugo templates (#345)
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
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 `<head>`
- [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/)