{% if blogs is valuableArray %} {% for article in blogs %}

{{ readFunnel(article,82)|raw }} - {{ "AUTHOR"|translate }}

{{ showDate(article.start, true) }}

{# To make the URL google friendly we need the name, but it may not contain strange characters and spaces #} {% set urlName = readFunnel(article,1)|safeString %}

{{ readFunnel(article,1)|raw }}

{% if readFunnel(article,7) is not empty %}
{% elseif readFunnel(article,4) is not empty %}
{% endif %}

{{ readFunnel(article,3)|raw }}

{{ "STR_LNK_REACTIEGEVEN"|translate }} {% if data.social %} {{ "CAMPAIGNMENU_SHARE"|translate }} {{ "TWEET"|translate }} {% endif %} {% if article.reactions|length > 0 %}

{{ "COMMENTS"|translate }} ({{ article.reactions.0.aantal_reacties }})

{% for reaction in article.reactions %} {% if loop.index is odd %} {% set commentAlternate = "odd" %} {% else %} {% set commentAlternate = "even" %} {% endif %} {% set communityComment = (reaction.userid in regGet('blogreactions_insider_personeel_ids')) ? 'community-comment' : '' %}

{{ reaction.membername }}

{{ showDate(reaction.tijdstip, true) }}

{{ truncateHTML(reaction.value, 500)|raw }}

{% set subComments = reaction.reacties.0.reacties %} {% if subComments|length > 0 %}
{% for comment in subComments %} {% set communitySubComment = (comment.userid in regGet('blogreactions_insider_personeel_ids')) ? 'community-comment' : '' %}

{{ comment.membername }}

{{ showDate(comment.tijdstip, true) }}

{{ comment.value|striptags('')|raw }}

{% endfor %}
{% endif %}
{% endfor %} {{ "READ_ALL_COMMENTS"|translate }} ({{ article.reactions.0.aantal_reacties }})
{% endif %}
{% endfor %} {% else %}

{{ "BLOG_NO_POSTS"|translate|raw }}

{% endif %}