I am really confused about what input becomes what output. Are you saying that more than one of show1, show2, and show3 might be true for some book? If that is the case the 'continue' statements shouldn't be where they are, and perhaps shouldn't be in the template at all.
What I really need is a list of examples showing the value of #show, the value of #ao3tags_pair, and the expected output.
EDIT: for example, it appears that for "Title 1" both show2 and show3 are true, and further that in the show3 case both "Jo / Maggy" and "JoJo" exist for the book. If this is true then the show3 block can't have the elif, but instead must probably be two blocks.
Last edited by chaley; 01-01-2023 at 02:49 PM.
|