Move theme from subrepo into the main repo
the theme is customized for this site so having it as a sub repo dosent make sense
This commit is contained in:
8
themes/hugo-theme-minos/layouts/partials/og.html
Normal file
8
themes/hugo-theme-minos/layouts/partials/og.html
Normal 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 }}{{ .Site.Params.Description }}{{ end }}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:locale" content="{{ .Lang }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
{{ if .Params.ogimage -}}
|
||||
<meta property="og:image" content="{{ .Params.ogimage }}" />
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user