---
layout: default
---
{%- assign locale = page.locale | default: layout.locale | default: site.locale %}
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
{% include page__hero.html locale=locale %}
{% elsif page.header.video.id and page.header.video.provider %}
{% include page__hero_video.html %}
{% endif %}
{% assign breadcrumbs_enabled = site.breadcrumbs %}
{% if page.breadcrumbs != null %}
{% assign breadcrumbs_enabled = page.breadcrumbs %}
{% endif %}
{% if page.url != "/" and breadcrumbs_enabled %}
{% unless paginator %}
{% include breadcrumbs.html locale=locale %}
{% endunless %}
{% endif %}
{% include sidebar.html locale=locale %}
{% if page.title %}{% endif %}
{% if page.excerpt %}{% endif %}
{% if page.date %}{% endif %}
{% if page.last_modified_at %}{% endif %}
{% unless page.header.overlay_color or page.header.overlay_image %}
{% if page.title -%}
{%- endif %}
{% include page__meta.html locale=locale %}
{% endunless %}
{% if page.toc %}
{% endif %}
{{ content }}
{% if page.link %}{% endif %}
{% if page.share %}{% include social-share.html locale=locale %}{% endif %}
{% include post_pagination.html locale=locale %}
{% if site.comments.provider and page.comments %}
{% if jekyll.environment == 'production' %}
{% include comments.html locale=locale %}
{% else %}
Comments are configured with provider: {{ site.comments.provider }},
but are disabled in non-production environments.
{% endif %}
{% endif %}
{% comment %}{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %}
{% include page__related.html locale=locale posts=site.related_posts %}
{% comment %}{% endcomment %}
{% elsif page.id and page.related %}
{% include page__related.html locale=locale posts=site.posts %}
{% endif %}