Initial commit, porting in progress

This commit is contained in:
Carson Ip
2017-02-18 23:25:00 +01:00
commit 275f414ed6
17 changed files with 362 additions and 0 deletions

8
layouts/partials/og.html Normal file
View File

@@ -0,0 +1,8 @@
<meta property="og:title" content="{{ if .Params.ogtitle }}{{ .Params.ogtitle }}{{ else }}{{ .Title }}{{ end }}" />
<meta property="og:description" content="{{ if .Params.ogdescription }}{{ .Params.ogdescription }}{{ else }}{{ .Description }}{{ end }}" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="{{ .Permalink }}" />
{{ if .Params.ogimage }}
<meta property="og:image" content="{{ .Params.ogimage }}" />
{{ end }}