diff options
| author | Christine Dodrill <me@christine.website> | 2018-03-29 17:46:59 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-03-29 17:46:59 -0700 |
| commit | 6c29390de6f48e7c743ee7dcf7208769d48312b8 (patch) | |
| tree | 0a06fa97b0cfb13159d7571ecb7bfe5d63e5ba5a | |
| parent | ac50a1e8edcfd52c127f1b55c900ae987c097a67 (diff) | |
| download | xesite-6c29390de6f48e7c743ee7dcf7208769d48312b8.tar.xz xesite-6c29390de6f48e7c743ee7dcf7208769d48312b8.zip | |
templates/blogpost: social graph meta tags
| -rw-r--r-- | templates/blogpost.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/blogpost.html b/templates/blogpost.html index 731ea1a..108902c 100644 --- a/templates/blogpost.html +++ b/templates/blogpost.html @@ -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" }} |
