diff --git a/config.toml b/config.toml index 4406926..a1721c1 100644 --- a/config.toml +++ b/config.toml @@ -22,7 +22,7 @@ disableKinds = ["taxonomy"] suffixtext = "for providing an eco-responsible and distributed web hosting." [imaging] -quality = 95 +quality = 90 [security] [security.funcs] getenv = [ "^HUGO_", "CONTEXT", "URL", "BASE_URL", "UMAMI_DOMAIN", "UMAMI_ID" ] diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a39531c..48d25e3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -29,21 +29,14 @@
{{ $original := resources.Get .Params.cover }} - {{ $coverSmall := $original.Resize "x250 webp" }} - {{ $coverSmallBackup := $original.Resize "x250 jpeg q69" }} - {{ $coverMedium := $original.Resize "x500 webp" }} - {{ $coverMediumBackup := $original.Resize "x500 jpeg q69" }} - {{ $coverBig := $original.Resize "x1000 webp" }} - {{ $coverBigBackup := $original.Resize "x1000 jpeg q69" }} - {{ $placeholder := $original.Resize "x15" }} - - - - - - - - + {{ $coverSmall := $original.Resize "x250 jpeg" }} + {{ $coverMedium := $original.Resize "x500 jpeg" }} + {{ $coverBig := $original.Resize "x1000 jpeg" }} + {{ $placeholder := $original.Resize "x5 jpeg" }} + + + + {{ .Title }} album's cover {{ range sort $pages.Pages "Date" "desc" }} {{ $original := resources.Get .Params.cover }} - {{ $cover := $original.Resize "x320" }} - {{ $cover2x := $original.Resize "x640" }} - {{ $placeholder := $cover.Resize "x1" }} + {{ $cover := $original.Resize "x320 jpeg" }} + {{ $cover2x := $original.Resize "x640 jpeg" }} + {{ $placeholder := $cover.Resize "x1 jpeg" }}