diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 7367a49..997f8fa 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -62,7 +62,10 @@ params:
opengraph:
twitter:
+ # Your Twitter username
site:
+
+ # Available values: summary, summary_large_image
card: summary_large_image
defaultImage:
diff --git a/layouts/partials/head/opengraph/provider/base.html b/layouts/partials/head/opengraph/provider/base.html
index 8e90a45..3e51d37 100644
--- a/layouts/partials/head/opengraph/provider/base.html
+++ b/layouts/partials/head/opengraph/provider/base.html
@@ -6,35 +6,35 @@
{{- with .Params.locale -}}
-
+
{{- end -}}
{{- if .IsPage -}}
-
- {{- range .Params.tags -}}
-
- {{- end -}}
+
+ {{- range .Params.tags -}}
+
+ {{- end -}}
{{- end -}}
{{- if .IsPage -}}
- {{- if not .Date.IsZero -}}
-
- {{- end -}}
- {{- if not .Lastmod.IsZero -}}
-
- {{- end -}}
+ {{- if not .Date.IsZero -}}
+
+ {{- end -}}
+ {{- if not .Lastmod.IsZero -}}
+
+ {{- end -}}
{{- else -}}
- {{- if not .Site.LastChange.IsZero -}}
-
- {{- end -}}
+ {{- if not .Site.LastChange.IsZero -}}
+
+ {{- end -}}
{{- end -}}
{{ $image := partialCached "helper/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }}
diff --git a/layouts/partials/head/opengraph/provider/twitter.html b/layouts/partials/head/opengraph/provider/twitter.html
index ecb6680..e74441d 100644
--- a/layouts/partials/head/opengraph/provider/twitter.html
+++ b/layouts/partials/head/opengraph/provider/twitter.html
@@ -10,6 +10,6 @@
{{- $image := partialCached "helper/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" -}}
{{- if $image.exists -}}
-
-
+
+
{{- end -}}
\ No newline at end of file