post_list shortcode and SHOW_UNTRANSLATED_POSTS

9 views
Skip to first unread message

Saadat Mateen

unread,
Apr 1, 2023, 11:43:27 AM4/1/23
to nikola-discuss
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 to 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. Does the post_list shortcode not take SHOW_UNTRANSLATED_POSTS into account? Or am I missing something?

Thanks for any pointers.

- Saadat

Roberto Alsina

unread,
Apr 1, 2023, 12:10:12 PM4/1/23
to Nikola—Discuss
I have not looked at the code but it's 99% likely it's exactly that reason :-)

--
You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/cedf4392-dae2-45bc-b495-d7e26010c85cn%40googlegroups.com.
Message has been deleted

Saadat Mateen

unread,
Apr 4, 2023, 7:12:55 AM4/4/23
to nikola-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages