{#
Content document element.
#}
{%- set isEnhanced = themeType == 'enhanced' -%}
{%- set showImage = isEnhanced and showImages and (document.image is not empty) -%}
{{- document.source.title -}}
{%- if showSourceCountry and document.source is not empty and document.source.country is not empty -%}
({{ document.source.country }})
{%- endif -%}
{%- if document.author is not empty and document.author.name is not empty -%}
{%- if not isEnhanced -%}
-
{%- endif -%}
{{- document.author.name -}}
{%- endif -%}
{%- if isEnhanced -%}
|
{%- else -%}
-
{%- endif -%}
{{- document.published|date('F d, Y H:i') -}}
{{- document.content -}}
{%- include _root ~ '/Partial/Content/comments.html.twig' with {
comments: document.comments,
showUserComments: showUserComments,
themeType: themeType
} -%}