templates/blogpost: social graph meta tags

This commit is contained in:
Cadey Ratio 2018-03-29 17:46:59 -07:00
parent ac50a1e8ed
commit 6c29390de6
1 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,20 @@
{{ define "title" }}
<title>{{ .Title }} - Christine Dodrill</title>
<!-- Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@theprincessxena" />
<meta name="twitter:title" content="{{ .Title }}" />
<meta name="twitter:description" content="Posted on {{ .Date }}" />
<!-- Facebook -->
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:site_name" content="Christine Dodrill's Blog" />
<!-- Description -->
<meta name="description" content="{{ .Title }} - Christine Dodrill's Blog" />
<meta name="author" content="Christine Dodrill">
{{ end }}
{{ define "content" }}