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.
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 setSHOW_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 thepost_list
shortcode elsewhere, and that Urdu post does show up in its output. It would be great if thepost_list
shortcode also respectsSHOW_UNTRANSLATED_POSTS = False
, and alters its output accordingly.