I have a module I wrote that can either show posts with a tag or posts that don't have a tag. Everything was working fine and overnight it's no longer working. Support is not any help. Any clue what could be wrong?
Only featured posts:
{% if module.display == "featured" %}
{% for content in contents %}
{% for topic in content.topic_list %}
{% if topic.name == tag %}
*** rest of my code ***
Everything but featured posts:
{% if module.display == "except_featured" %}
{% for content in contents %}
{% unless tag in content.topic_list|map('name') %}
*** rest of my code ***
{{ module.tag }} and {{ tag }} both output the desired tag that was selected in the module on the editor screen