{# This framework doesn't support AWS links S3. Or categories. #}

{% if RSS %}{% include this.frameworkBaseDir() ~ 'includes/rss.twig.html' %}
{% else %}
	
	{% include this.frameworkBaseDir() ~ 'includes/header.twig.html' %}
	
	{% set LINKS_IN_INCLUDES = true %}
	
	{% if Rows %}
		{% for item in Row %}
			<div class="content_list_item">
			{% if LINKS_IN_INCLUDES %}
				<a {{item.Link}}{{item.Target_Blank}} class="content_list_data_row_link">
			{% endif %}
			
			<div class="content_list_data_row{% if Content_Items_Equal_Height %} tothesameheight{% endif %} data_row_{{this.oddOrEven()}}{% if item.Disabled %} disabled_link{% endif %} {% if item.Content_item_is_private %} private {% endif %}">
				{% if Show_Featured_Image %}
					<div class="sticky_image">
						{% if item.Featured_Image_HTML %}
							{{item.Featured_Image_HTML}}
						{% endif %}
					</div>
				{% endif %}
				
				<div class="content_list_text">
					{% if Show_Item_Title %}
						{% if item.Pinned or item.Pinned_Text %}
							<div class="pinned {% if item.Pinned %} pinned_icon {% endif %}">{% if item.Pinned_Text %}{{item.Pinned_Text|trans}}{% endif %}</div>
						{% endif %}
					
						<{{Item_Title_Tags}}
							class="
								content_list_title
								{{item.Content_Type|e}}
								{% if item.Disabled %}
									disabled_link
								{% endif %}
							"
						>

							{{item.Title|e}}
			
						</{{Item_Title_Tags}}>

					{% endif %}

					{# As of 06 Sept 2021, the "Show writer's photo" setting is disabled. #}
					{# Commenting out the code in case we want it back in the future. #}

					{% if Show_Author %}
						<p class="content_list_author">{{item.Author|e}}</p>
					{% endif %}
					{% if Show_Date %}
						<p class="content_list_date">{{item.Date|e}}</p>
					{% endif %}
					
					{% include this.frameworkBaseDir() ~ 'includes/excerpt.twig.html' %}
				</div>
			</div>

			{% if LINKS_IN_INCLUDES %}
				</a>
			{% endif %}
			</div>
		{% endfor %}
	{% endif %}
	
	{% include this.frameworkBaseDir() ~ 'includes/footer.twig.html' %}

{% endif %}