Browse Source

trying to add twittercard

master
jk 4 years ago
parent
commit
f92a3c2c82
  1. 5
      themes/nipponalba/layouts/partials/head.html

5
themes/nipponalba/layouts/partials/head.html

@ -33,6 +33,9 @@
<link rel="alternate" type="application/atom+xml" href="http://jk.nipponalba.scot/atom.xml" rel="self" />
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
{{ if eq .Type "article" }}{{ template "_internal/opengraph.html" . }}{{ end }}
{{ if eq .Type "article" }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ end }}
<link rel="canonical" href="{{ .Permalink }}">
</head>