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

github.com/danielkvist/hugo-terrassa-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielkvist <d94.zaragoza@gmail.com>2018-12-28 15:06:55 +0300
committerdanielkvist <d94.zaragoza@gmail.com>2018-12-28 15:07:40 +0300
commitd3d81dbc908343b0af948209e60bc6e3dc8507c6 (patch)
treef1614f691615a6807e576434d812af882337b041 /layouts/partials
parent522b07df2a8f2cb21d7289abf349275f870c61a8 (diff)
add Twitter Cards and Open Graph
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 3dcc6bf..ec36849 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,21 +4,17 @@
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow, noarchive">
<title>{{ .Site.Title }} - {{ .Title }}</title>
+ <link rel="icon" href="{{ .Site.Params.favicon }}">
+ <meta name="description" content="{{ .Site.Params.description }}">
{{ .Hugo.Generator }}
- <!-- FIXME: -->
- {{ if .Description }}
- <meta name="description" content="{{ .Description }}">
- {{ end }}
-
{{ if .Site.GoogleAnalytics }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
- {{ if .Site.Params.favicon.favicon }}
- <link rel="icon" href="{{ .Site.Params.favicon.favicon }}">
- {{ end }}
+ {{ template "_internal/twitter_cards.html" . }}
+ {{ template "_internal/opengraph.html" . }}
<!-- CSS -->
{{ partial "styles.html" . }}