diff options
author | tdro <tdro@noreply.example.com> | 2023-10-17 18:54:19 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-10-17 18:54:19 -0400 |
commit | 667ed110843f29a97b0525fc0fa71f5b2d9e1ed2 (patch) | |
tree | 4115cc88f2f9980d13f4dbde11d6c3b8af8fd44e /themes/default/layouts/partials | |
parent | 187e4ff528ee5395efb52f20f95d9f9a1c7d83a6 (diff) | |
download | canory-667ed110843f29a97b0525fc0fa71f5b2d9e1ed2.tar.gz canory-667ed110843f29a97b0525fc0fa71f5b2d9e1ed2.tar.bz2 canory-667ed110843f29a97b0525fc0fa71f5b2d9e1ed2.zip |
themes/default/layouts/_default/section.media: Fix count and target end tag
Diffstat (limited to 'themes/default/layouts/partials')
-rw-r--r-- | themes/default/layouts/partials/count-media.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/layouts/partials/count-media.html b/themes/default/layouts/partials/count-media.html index 02e755e..8a409e7 100644 --- a/themes/default/layouts/partials/count-media.html +++ b/themes/default/layouts/partials/count-media.html @@ -9,9 +9,9 @@ {{- break -}} {{- end -}} {{- if or - (in .Content "<figure>") - (in .Content "<youtube-video>") - (in .Content "<video-container>") + (in .Content "</video>") + (in .Content "</picture>") + (in .Content "</youtube-video>") -}} {{- $count = add $count 1 -}} {{- end -}} |