diff options
author | tdro <tdro@noreply.example.com> | 2023-06-18 18:32:33 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-06-18 18:32:33 -0400 |
commit | 01eecb13690abc5d41806d02e826406302f8a3e9 (patch) | |
tree | 24ead281d13a85589e17e2a17f27df8e4421cda8 /themes/default/layouts/partials | |
parent | 93c4424fdd5bd9c9c921e90141be786d43bde491 (diff) | |
download | canory-01eecb13690abc5d41806d02e826406302f8a3e9.tar.gz canory-01eecb13690abc5d41806d02e826406302f8a3e9.tar.bz2 canory-01eecb13690abc5d41806d02e826406302f8a3e9.zip |
themes/default/layouts/partials/gallery-walk: Apply filter
Diffstat (limited to 'themes/default/layouts/partials')
-rw-r--r-- | themes/default/layouts/partials/gallery-walk.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/gallery-walk.html b/themes/default/layouts/partials/gallery-walk.html index 6c2206f..342aedf 100644 --- a/themes/default/layouts/partials/gallery-walk.html +++ b/themes/default/layouts/partials/gallery-walk.html @@ -11,7 +11,9 @@ "image/webp" -}} -{{- range (where .Site.RegularPages "Params.Author" $author.user) -}} +{{- $filteredPages := partial "function-filters-content.html" .Site.RegularPages -}} + +{{- range (where $filteredPages "Params.Author" $author.user) -}} {{- if in .Content "<figure>" -}} {{- $data = $data | append (dict "alt" (delimit (findRE `(?sU)alt=".*"` .Content 1) "") |