Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHOW_UNTRANSLATED_POSTS=False does not affect the post_list shortcode #3678

Open
saadatm opened this issue Apr 2, 2023 · 0 comments
Open
Labels

Comments

@saadatm
Copy link

saadatm commented Apr 2, 2023

Environment

Python Version: 3.10.10

Nikola Version: 8.2.3

Operating System: Arch Linux

Description:

I have a bilingual (English and Urdu) blog, and recently I published an Urdu post without an English translation. In my conf.py I have set SHOW_UNTRANSLATED_POSTS = False, and it works as expected on the archive page (i.e. that Urdu post does not appear on the English archive page). However, I am also using the post_list shortcode elsewhere, and that Urdu post does show up in its output. It would be great if the post_list shortcode also respects SHOW_UNTRANSLATED_POSTS = False, and alters its output accordingly.

@saadatm saadatm added the bug label Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant