From 3f3518f1084b2654fb490b93d14d4ba0cad69e2e Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 18 Feb 2024 20:54:57 -0600 Subject: [PATCH] indentations --- layouts/partials/opengraph.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/layouts/partials/opengraph.html b/layouts/partials/opengraph.html index 36fc91e..7bddaa1 100644 --- a/layouts/partials/opengraph.html +++ b/layouts/partials/opengraph.html @@ -7,22 +7,24 @@ {{- if .IsHome }} -{{ $text = .Site.Params.Description }} + {{ $text = .Site.Params.Description }} {{- end }} {{- if .IsPage }} -{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} - -{{ with .PublishDate }}{{ end }} -{{ with .Lastmod }}{{ end }} -{{ $text = .Page.Title }} + {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} + + {{ with .PublishDate }}{{ end }} + {{ with .Lastmod }}{{ end }} + {{ $text = .Page.Title }} {{ end }} {{- with .Params.thumbnail }} -{{ $thumbnail := $.Resources.Get . }} -{{ with $thumbnail }} -{{ $img = $img.Filter (images.Overlay (.Process "fit 300x250") 875 38 )}} -{{ end }}{{ end }} + {{ $thumbnail := $.Resources.Get . }} + {{ with $thumbnail }} + {{ $img = $img.Filter (images.Overlay (.Process "fit 300x250") 875 38 )}} + {{ end }} +{{ end }} + {{ $img = $img.Filter (images.Text $text (dict "color" "#d8d8d8" "size" 64