diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 72edd52..7d17574 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,9 +6,9 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - {{ template "_internal/schema.html" . }} - {{ template "_internal/opengraph.html" . }} - {{ template "_internal/twitter_cards.html" . }} + {{ if site.Params.schema }}{{ template "_internal/schema.html" . }}{{ end }} + {{ if site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }} + {{ if site.Params.twittercards }}{{ template "_internal/twitter_cards.html" . }}{{ end }} <title> {{ if eq .Title site.Title }} {{ site.Title }} |