mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-22 04:29:05 +00:00
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
|
||||
* 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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue