{#
TODO - better variable naming
#}
{# % if
content.type == 1 or
content.type == constant("App\\Entity\\Content::WEBINAR") or
content.type == 18
% #}
{% if content.type == constant("App\\Entity\\Content::POST") %}
{# post #}
{% include "content/post.html.twig" %}
{% elseif content.type == constant("App\\Entity\\Content::CLASSIFIED") %}
{# classified #}
{% include "content/classified.html.twig" %}
{% elseif content.type == 4 %}
{# directory #}
{% include "content/directory.html.twig" %}
{% elseif content.type == 5 %}
{# gallery #}
{% include "content/gallery.html.twig" %}
{% elseif content.type == 6 %}
{# landing page #}
{% include "content/landing-page.html.twig" %}
{% elseif content.type == 7 %}
{# event page #}
{% include "content/event.html.twig" %}
{% elseif false and content.type == 8 %}
{# webinar page #}
{% include "content/webinar.html.twig" %}
{% elseif content.type == 9 %}
{# forum page #}
{% include "content/forum.html.twig" %}
{% elseif content.type == 10 %}
{# forum topic page #}
{% include "content/forum-topic.html.twig" %}
{% elseif content.type == 11 %}
{# forum reply page #}
{% include "content/forum-reply.html.twig" %}
{% elseif content.type == 18 %}
{# podcast page #}
{% include "content/podcast.html.twig" %}
{% else %}
{# all single content items #}
{% include "content/page.html.twig" %}
{% endif %}