🐛 fix: link to "All posts" in non-default-language root

Was linking to e.g. `es/blog/_index.es.md` instead of `/es/blog/`
This commit is contained in:
welpo
2024-11-14 18:41:49 +01:00
parent 1cf27322ba
commit 3b7fd3db9c
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@
all_posts=all_posts,
max=max_posts,
language_strings=language_strings,
section_path=path,
section_path=extra_section.path | default(value="blog"),
pinned_first=is_root_section,
current_page=paginator.current_index | default(value=1)
) }}