Skip to content

Commit ef635d5

Browse files
committed
Fix some more deprecation warnings
1 parent 09d6611 commit ef635d5

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

exampleSite/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ replace github.com/bep/galleriesdeluxe => ../
66

77
require (
88
github.com/bep/galleriesdeluxe v0.0.0-20230703155916-942ecbaaea2f // indirect
9-
github.com/bep/gallerydeluxe v0.10.0 // indirect
10-
github.com/bep/hugo-mod-misc/common-partials v0.0.0-20230704170958-135885e57221 // indirect
9+
github.com/bep/gallerydeluxe v0.12.0 // indirect
10+
github.com/bep/hugo-mod-misc/common-partials v0.1.0 // indirect
1111
)

exampleSite/go.sum

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
github.com/bep/gallerydeluxe v0.10.0 h1:0CXOArpCD6S0XdhFpXuShnlqx8VJBCrWhKdgi/xdRjE=
22
github.com/bep/gallerydeluxe v0.10.0/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
3+
github.com/bep/gallerydeluxe v0.12.0 h1:Sb6I9WYitsNdgHyS8xxTLUzNpSrUeE9Ihwh1RGmgeEc=
4+
github.com/bep/gallerydeluxe v0.12.0/go.mod h1:sUfRcjREo6DwxPo0sMp0TAxNZiGreOY6DY2dWGpSeR8=
35
github.com/bep/hugo-mod-misc/common-partials v0.0.0-20230704093825-0324b29fc581 h1:jC5eaVLYbNgoWRoufZY4DaP+nCPfE07nmAMKN0Bsqhk=
46
github.com/bep/hugo-mod-misc/common-partials v0.0.0-20230704093825-0324b29fc581/go.mod h1:lw2586uqPfye9yTYgSyvZwU3dfpZcjDXmIOJeR4D6O0=
57
github.com/bep/hugo-mod-misc/common-partials v0.0.0-20230704102517-ce194ee16770 h1:fF16cczTlWC0sKkflkcp6eQmve0UAU9e+LhGP2w7jWI=
@@ -8,3 +10,5 @@ github.com/bep/hugo-mod-misc/common-partials v0.0.0-20230704103809-4f6830d6af54
810
github.com/bep/hugo-mod-misc/common-partials v0.0.0-20230704103809-4f6830d6af54/go.mod h1:lw2586uqPfye9yTYgSyvZwU3dfpZcjDXmIOJeR4D6O0=
911
github.com/bep/hugo-mod-misc/common-partials v0.0.0-20230704170958-135885e57221 h1:TlXyw76Uqh20FwHmwPzpctDkWELF4PTOLaAJvqHY8ME=
1012
github.com/bep/hugo-mod-misc/common-partials v0.0.0-20230704170958-135885e57221/go.mod h1:lw2586uqPfye9yTYgSyvZwU3dfpZcjDXmIOJeR4D6O0=
13+
github.com/bep/hugo-mod-misc/common-partials v0.1.0 h1:SiGnrf9MW1aFczXpXPTDpsGr3SvimIaBXMpZucPxT+g=
14+
github.com/bep/hugo-mod-misc/common-partials v0.1.0/go.mod h1:lw2586uqPfye9yTYgSyvZwU3dfpZcjDXmIOJeR4D6O0=

layouts/_default/baseof.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="{{ site.Language.LanguageCode }}">
33
<head>
44
<meta charset="utf-8" />
@@ -35,7 +35,7 @@
3535
{{ $options = $options | merge (dict "enableSourceMap" false "outputStyle" "compressed") }}
3636
{{ end }}
3737
{{ $styles := resources.Get "scss/galleriesdeluxe/styles.scss" }}
38-
{{ $styles = $styles | resources.ToCSS $options }}
38+
{{ $styles = $styles | css.Sass $options }}
3939
{{ if hugo.IsProduction }}
4040
{{ $styles = $styles | fingerprint }}
4141
{{ end }}

layouts/partials/galleriesdeluxe/get-gallery.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{{ end }}
1111

1212
{{ with $images }}
13-
{{ $id := $.RelPermalink | crypto.FNV32a }}
13+
{{ $id := $.RelPermalink | hash.FNV32a }}
1414
{{ $idx := mod $id (len $images) }}
1515
{{ $first := index $images $idx }}
1616
{{ $thumb := $first.Fill "400x264 smart" }}

theme.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Multi gallery theme suitable for large galleries."
66
homepage = "https://github.com/bep/galleriesdeluxe"
77
demosite = "https://galleriesdeluxe.netlify.app/"
88
tags = ["Gallery", "Responsive"]
9-
min_version = "0.90.0"
9+
min_version = "0.129.0"
1010
[author]
1111
name = "Bjørn Erik Pedersen"
1212
homepage = "http://bep.is"

0 commit comments

Comments
 (0)