summaryrefslogtreecommitdiffstats
path: root/nikola/plugins/shortcode
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-04-20 00:12:09 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-04-20 00:12:09 -0400
commit942e313727d1ad886a1024c24fe4a9e8e2e0bb3e (patch)
tree1c4d5d826655cdb812c88563a25410f8b54e41d2 /nikola/plugins/shortcode
parent8eeed31eb2f86ac982fa4b26f93b15828289c56d (diff)
New upstream version 8.2.0.upstream/8.2.0
Diffstat (limited to 'nikola/plugins/shortcode')
-rw-r--r--nikola/plugins/shortcode/post_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nikola/plugins/shortcode/post_list.py b/nikola/plugins/shortcode/post_list.py
index 0206cf0..2d8d170 100644
--- a/nikola/plugins/shortcode/post_list.py
+++ b/nikola/plugins/shortcode/post_list.py
@@ -219,7 +219,7 @@ class PostListShortcode(ShortcodePlugin):
posts += [post]
- template_deps = site.template_system.template_deps(template)
+ template_deps = site.template_system.template_deps(template, site.GLOBAL_CONTEXT)
if state:
# Register template as a dependency (Issue #2391)
for d in template_deps: