From 1639033905dd09ea3d22cfcc41e894a27dd3f6ba Mon Sep 17 00:00:00 2001 From: Jakub Date: Fri, 1 Mar 2024 21:11:13 -0500 Subject: [PATCH] add compressing to jpeg for images and thumbnails --- layouts/photos/single.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/layouts/photos/single.html b/layouts/photos/single.html index 6ff4ce6..b041231 100644 --- a/layouts/photos/single.html +++ b/layouts/photos/single.html @@ -1,27 +1,21 @@ {{ partial "header.html" . }} - {{ partial "nav.html" . }} +{{ partial "nav.html" . }}

{{ .Title }}

- {{ .Content }} {{ $path := .Page.File.Path | strings.TrimSuffix (path.Ext .Page.File.Path) }} {{ $images := where (resources.Match "photos/test1/*" ) "ResourceType" "eq" "image" }} - - - - - -
- {{ partial "footer.html" . }}