Include internal open graph and twitter cards partials

This commit is contained in:
vimux 2018-03-04 10:31:50 +03:00
parent ac8cec336b
commit 1ab5d11334

View file

@ -5,6 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
{{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
{{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
</head>
<body>