diff --git a/README.md b/README.md index 45861f9..af8bbc9 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ * Responsive * Card-based list layout * Color themes -* Internal Hugo templates for Open Graph and Twitter Cards meta data, Google Analytics, and Disqus comments +* Internal Hugo templates (Open Graph, Schema, Twitter Cards, Google Analytics, Disqus comments) * Table of contents * Related content * MathJax @@ -135,6 +135,7 @@ googleAnalytics = "" # Enable Google Analytics by entering your tracking id description = "Responsive card-based & code-light Hugo theme" # Site Description. Used in meta description copyright = "Binario" # Copyright holder, otherwise will use .Site.Title opengraph = true # Enable OpenGraph if true + schema = true # Enable Schema twitter_cards = true # Enable Twitter Cards if true columns = 2 # Set the number of cards columns. Possible values: 1, 2, 3 mainSections = ["post"] # Set main page sections diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 232ac80..1cf6195 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,6 +11,9 @@ {{- if .Site.Params.opengraph }} {{ template "_internal/opengraph.html" . }} {{- end }} + {{- if .Site.Params.schema }} + {{ template "_internal/schema.html" . }} + {{- end }} {{- if .Site.Params.twitter_cards }} {{ template "_internal/twitter_cards.html" . }} {{- end }}