{% assign hero = include.hero %} {% assign top_nav = hero.top_nav | default: include.top_nav %} {% assign breadcrumbs = include.breadcrumbs | default: page.breadcrumbs | default: layout.breadcrumbs %} {%- capture style -%} background-image: linear-gradient(to bottom, rgba(0, 25, 39, 0.68), rgba(0, 25, 39, 0.68)){% if hero.image %}, url('{{ hero.image | absolute_url }}'){% endif %}; background-size: cover; background-position: bottom center; background-attachment: fixed; {% if hero.color %}background: {{ hero.color }};{% endif %} {%- endcapture -%}
{% if top_nav %}
{% include navbar.html %}
{% endif %}
{% if top_nav and breadcrumbs %} {% endif %}
{% if top_nav %}

{{ hero.title | default: page.title }}

{% else %}

{{ hero.title | default: page.title }}

{% endif %} {% if page.collection == 'news' %}

{% if page.author %}  {{ page.author }}{% endif %}    |      {{ page.date | date: "%B %d, %Y" }}

{% elsif page.collection == 'events' %}

  {{ page.location.label }}    |      {{ page.datetime | date: "%B %e, %Y at %H:%M %Z" }}

{% else %}

{{ hero.subtitle | default: page.subtitle }}

{% endif %} {% if hero.button %} {% include misc/button.html button_label=hero.button.label button_link=hero.button.link %} {% endif %}