aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/section.media.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-02-13 18:36:40 -0500
committertdro <tdro@noreply.example.com>2023-02-13 20:15:44 -0500
commit0ff6cdf8550ab1b36e42988048460665094b0d65 (patch)
treef85ad54f389dcbdf5c54fa141f7e9fbadbe71df9 /themes/default/layouts/_default/section.media.html
parent873195a39e84bccd8d0fafe26d6f60983f54ed0a (diff)
downloadcanory-0ff6cdf8550ab1b36e42988048460665094b0d65.tar.gz
canory-0ff6cdf8550ab1b36e42988048460665094b0d65.tar.bz2
canory-0ff6cdf8550ab1b36e42988048460665094b0d65.zip
themes/default/layouts/partials/gallery-walk: Walk with findRE
Diffstat (limited to 'themes/default/layouts/_default/section.media.html')
-rw-r--r--themes/default/layouts/_default/section.media.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/section.media.html b/themes/default/layouts/_default/section.media.html
index 3bfaf58..9191a3e 100644
--- a/themes/default/layouts/_default/section.media.html
+++ b/themes/default/layouts/_default/section.media.html
@@ -38,7 +38,7 @@
{{ $count := 0 }}
{{ $result := false }}
- {{ range .Site.Pages }}
+ {{ range .Site.RegularPages }}
{{ if or
(in .Content "<figure>")
(in .Content "<imgur-video>")