Added Open Graph Internal Template as an option for easy social sharing.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ if eq .Site.Params.openGraph true }}
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ end }}
|
||||
<meta name="description" content="{{ if .Params.summary }}{{ .Params.summary }}{{ else if .Site.Params.Description }}{{ .Site.Params.Description }}{{ else }}Hardcoded description; the author should update :){{ end }}" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
Reference in New Issue
Block a user