diff options
Diffstat (limited to 'layouts/partials/head.html')
| -rw-r--r-- | layouts/partials/head.html | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index c2e3597..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,16 +0,0 @@ -<meta charset="utf-8"> -<meta name="viewport" content="width=device-width"> -<link rel="stylesheet" type="text/css" href="/style.css?v=1.0.1"> -<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }}{{ end }}</title> -<meta name="author" content="{{ .Site.Params.email }} ({{ .Site.Params.name }})"> -<meta name="description" content="{{- plainify (chomp .Summary) -}}"> -<!-- OpenGraph specification --> -<meta property="og:title" content="{{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }}{{ end }}" /> -<meta property="og:description" content="{{- plainify (chomp .Summary) -}}" /> -<meta property="og:url" content="{{ .Permalink}}" /> -{{- $images := .Page.Resources.ByType "image" }} -{{- with index $images 0 }} -{{- $processed := .Resize "600x" }} -{{- $processed := $processed.Crop "512x512" }} -<meta property="og:image" content="{{ $processed.RelPermalink }}" /> -{{- end -}}
\ No newline at end of file |
