diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-10-22 13:53:50 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-10-22 13:53:50 +0200 |
| commit | d59b8258a875c51a6fc046aa13506f9c4151aef8 (patch) | |
| tree | 43839e60e8dce70d418855d98bb5dd36d33bb580 /site.tmpl | |
| parent | 6dfc39e74ca2b94149873b87887d530a87b6da0e (diff) | |
| download | mitjafelicijan.com-d59b8258a875c51a6fc046aa13506f9c4151aef8.tar.gz | |
Added OG tags
Diffstat (limited to 'site.tmpl')
| -rw-r--r-- | site.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -19,6 +19,12 @@ | |||
| 19 | <meta name="author" content="{{ html .Site.Other.Author }}"> | 19 | <meta name="author" content="{{ html .Site.Other.Author }}"> |
| 20 | <meta name="description" content="{{ if .Other.Description }}{{ .Other.Description }}{{ else }}{{ html .Site.Other.Description }}{{ end }}"> | 20 | <meta name="description" content="{{ if .Other.Description }}{{ .Other.Description }}{{ else }}{{ html .Site.Other.Description }}{{ end }}"> |
| 21 | 21 | ||
| 22 | <meta property="og:title" content="{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Other.Title }}"> | ||
| 23 | <meta property="og:description" content="{{ if .Other.Description }}{{ .Other.Description }}{{ else }}{{ html .Site.Other.Description }}{{ end }}"> | ||
| 24 | <meta property="og:url" content="{{ .Site.Other.Url }}/{{ .Url }}"> | ||
| 25 | |||
| 26 | <meta name="twitter:card" content="summary"> | ||
| 27 | <meta name="twitter:site" content="{{ html .Site.Other.Twitter_handle }}"> | ||
| 22 | </head> | 28 | </head> |
| 23 | <body> | 29 | <body> |
| 24 | <main> | 30 | <main> |
