Include Schema internal template
This commit is contained in:
parent
cce4ffae74
commit
d7a6b540c2
2 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
* Responsive
|
* Responsive
|
||||||
* Card-based list layout
|
* Card-based list layout
|
||||||
* Color themes
|
* 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
|
* Table of contents
|
||||||
* Related content
|
* Related content
|
||||||
* MathJax
|
* 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
|
description = "Responsive card-based & code-light Hugo theme" # Site Description. Used in meta description
|
||||||
copyright = "Binario" # Copyright holder, otherwise will use .Site.Title
|
copyright = "Binario" # Copyright holder, otherwise will use .Site.Title
|
||||||
opengraph = true # Enable OpenGraph if true
|
opengraph = true # Enable OpenGraph if true
|
||||||
|
schema = true # Enable Schema
|
||||||
twitter_cards = true # Enable Twitter Cards if true
|
twitter_cards = true # Enable Twitter Cards if true
|
||||||
columns = 2 # Set the number of cards columns. Possible values: 1, 2, 3
|
columns = 2 # Set the number of cards columns. Possible values: 1, 2, 3
|
||||||
mainSections = ["post"] # Set main page sections
|
mainSections = ["post"] # Set main page sections
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
{{- if .Site.Params.opengraph }}
|
{{- if .Site.Params.opengraph }}
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Site.Params.schema }}
|
||||||
|
{{ template "_internal/schema.html" . }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Site.Params.twitter_cards }}
|
{{- if .Site.Params.twitter_cards }}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue