diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 4447d30..07c1832 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -10,6 +10,10 @@ disableKinds: params: + # Open graph allows easy social sharing. If you don't want it you can set it to false or just delete the variable + openGraph: true + # Used as meta data; describe your site to make Google Bots happy + description: navbarlogo: # Logo (from static/images/logos/___) image: logos/fresh.svg diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index b894f4d..517d815 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -1,4 +1,8 @@ {{ template "_internal/google_analytics_async.html" . }} +{{ if eq .Site.Params.openGraph true }} +{{ template "_internal/opengraph.html" . }} +{{ end }} + \ No newline at end of file