Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/7ma7X/HugoTeX.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 122efd2..630b4b4 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -12,6 +12,12 @@
{{- end }}
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+{{ if site.Params.twittercard }}
+{{ template "_internal/twitter_cards.html" . }}
+{{- end }}
+{{ if site.Params.opengraph }}
+{{ template "_internal/opengraph.html" . }}
+{{- end }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/latex.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" />
{{ if site.Params.darkmode }}