{% extends 'partials/base.html.twig' %} {% block content %}

{% if page.header.media == 'video' %} {% else %} {% endif %} {{ page.title|e }}

{% if (grav.theme.config.params.articles.show.date) or (grav.theme.config.params.articles.show.authors) or (grav.theme.config.params.articles.show.topics) or (grav.theme.config.params.articles.show.time) %}
{% if grav.theme.config.params.articles.show.date %} {{ page.date|date("F j, Y") }} {% endif %} {% if grav.theme.config.params.articles.show.authors %} {% set authorlist = [] %} {% for author in page.taxonomy['author'] %} {# Check to see if a dedicated author page exists #} {% set slug = author|hyphenize|url_encode %} {% set p = page.find('/authors/'~slug) %} {% if p == null %} {% set authorlist = authorlist|merge([''~author~'']) %} {% else %} {% set authorlist = authorlist|merge([''~author~'']) %} {% endif %} {% endfor %} {{ authorlist|join(', ') }} {% endif %} {% if grav.theme.config.params.articles.show.topics %} {% set catlist = [] %} {% for cat in page.taxonomy.category %} {% set catlist = catlist|merge([''~cat~'']) %} {% endfor %} {{ catlist|join(', ') }} {% endif %} {% if grav.theme.config.params.articles.show.time %} {{ page.content|readingtime }} {% endif %}
{% endif %} {% if page.taxonomy.tag|length > 0 %} {% set taglist = [] %} {% for tag in page.taxonomy.tag %} {% set taglist = taglist|merge([''~tag~'']) %} {% endfor %}
{{ taglist|join(', ') }}
{% endif %} {% if theme_var('display_of_git_sync_repo_link') == 'page' and not (grav.uri.param('summaryonly') or grav.uri.param('onlysummary')) %}
{% include 'partials/git_sync_repo_link_note.html.twig' %} {% endif %}
{{ page.content }} {% if not page.header.hide_mediasummary %}

{% for image in page.media.images %} {{ image.cropResize(700, 400).html("title", "alt", "itemscreenshot") }} {% endfor %} {% endif %}
{% if config.plugins.relatedpages.enabled and related_pages|length > 0 %} {% endif %}
{% if config.plugins.comments.enabled %}

{{ 'COMMENTS'|t }}

{% endif %}
{% endblock %}