<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="copyright" content="{{ "now" | date: "%Y" }}">
<link rel="shortcut icon" href="/assets/favicon.png" type="image/x-icon" />

{% comment %}<!-- META TAGS -->{% endcomment %}
{% if page.meta_tags.t_meta_title %}<title>{{ page.meta_tags.t_meta_title }}{% if paginator.page %} | page {{ paginator.page }}{%- endif -%}</title>{% endif %}
{% if page.meta_tags.t_meta_description %}<meta name="description" content="{{ page.meta_tags.t_meta_description }}{% if paginator.page %} (page {{ paginator.page }}){%- endif -%}"> {% endif %}
{% if page.meta_tags.t_meta_abstract %}<meta name="abstract" content="{{ page.meta_tags.t_meta_abstract }}">{% endif %}

{% comment %}<!-- CANONICAL -->{% endcomment %}
<link rel="canonical" href="{{ site.url }}{{ page.url | remove: 'en/' }}">

{%- comment -%}<!-- HREFLANG -->{%- endcomment -%}
{% if page.i18n_link %}
{%- assign docs = site.pages | where:"i18n_link", page.i18n_link | sort: 'lang' -%}
{% for doc in docs %}
<link rel="alternate" hreflang="{{doc.language | replace: 'default', 'x-default'}}" href="{{ site.url }}{{ doc.url | remove: 'index.html' }}"/>
{%- endfor -%}
{%- for collection in site.collections -%}
{%- assign docs = collection.docs | where:"i18n_link", page.i18n_link | sort: 'lang' -%}
{% for doc in docs %}
<link rel="alternate" hreflang="{{doc.language | replace: 'default', 'x-default'}}" href="{{ site.url }}{{ doc.url | remove: 'index.html' }}"/>
{%- endfor -%}
{%- endfor -%}
{% endif %}

{% comment %}<!-- OPEN GRAPH -->{% endcomment %}
{% if page.meta_tags.t_meta_title %}
<meta property="og:title" content="{{ page.meta_tags.t_meta_title }}" />
<meta property="og:url" content="{{ site.url }}{{ page.url | replace:'index.html',''}}" />
<meta property="og:description" content="{{ page.meta_tags.t_meta_description }}" />
{% endif %}
{% if page.type contains 'page' %}<meta property="og:type" content="website" />{% else %}
<meta property="og:type" content="article" />{% endif %}
{% if page.type contains 'page' %}
{% if page.meta_tags.i_meta_image %} <meta property="og:image" content="{% picture open_graph pages/{{page.meta_tags.i_meta_image}} %}" /> {% endif %}
{% endif %}
{% if page.type contains 'collections' %}
{% if page.meta_tags.i_meta_image %} <meta property="og:image" content="{% picture open_graph collections/{{page.meta_tags.i_meta_image}} %}" /> {% endif %}
{% endif %}

{%- comment -%} DELETE THE OLD CODE  BELOW ONCE THE KEY VALUES ARE UPDATED {%- endcomment %}

{%- comment -%}<!-- xxx OLD META TAGS xxx - used for old articles and topic clusters -->{%- endcomment -%}
{%- comment -%}<!-- Delete once Demand Gen App output is refactored -->{%- endcomment -%}
{% if page.t_meta_title %}<title>{{ page.t_meta_title }}{%- if paginator.page -%} - page {{ paginator.page }}{%- endif -%}</title>{% endif %}
{% if page.t_meta_description %}<meta name="description" content="{{ page.t_meta_description }}"> {% endif %}
{% if page.t_summary %}<meta name="abstract" content="{{ page.t_summary }}">{% endif %}

{%- comment -%}<!-- xxx OLD OPEN GRAPH xxx - used for old articles and topic clusters -->{%- endcomment -%}
{%- comment -%}<!-- Delete once Demand Gen App output is refactored -->{%- endcomment -%}
{% if page.t_meta_title %}
<meta property="og:title" content="{{ page.t_meta_title }}" />
<meta property="og:url" content="{{ site.url }}{{ page.url | replace:'index.html',''}}" />
<meta property="og:image" content="{% picture open_graph pages/og_page_zipschedules_home.png %}" />
<meta property="og:description" content="{{ page.t_meta_description }}" />
<meta property="og:type" content="article" />
{% endif %}

{% comment %}<!-- JSON-LD BREADCRUMB -->{% endcomment %}
{% assign crumbs = page.url | remove: '/index.html' | split: '/' %}
<script type="application/ld+json">
{ "@context": "https://schema.org", 
  "@type": "BreadcrumbList",
  "itemListElement": [{
    "@type": "ListItem", 
    "position": 1,
    "name": "{{ site.title | default: "Home" }}",
    "item": "{{ site.url }}"
{%- for crumb in crumbs offset: 1 -%}
  },{
    "@type": "ListItem", 
    "position": {{ forloop.index | plus: 1 }},
    {%- assign words = crumb | remove:'.html' | replace '-',' ' -%}
    {% capture titlecase %}{%- for word in words -%}{{ word | capitalize }}{%- endfor -%}{% endcapture %}
    "name": "{{ titlecase }}",
    "item": "{{ site.url }}{% assign crumb_limit = forloop.index %}{% for crumb in crumbs offset: 1 limit: crumb_limit %}/{{ crumb }}{%- endfor -%}"
{%- endfor -%}
  }]
}
</script>

{% comment %}<!-- JSON-LD WEBSITE -->{% endcomment %}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
  "name": "{{ site.data.organization.organization.publisher.t_name }}",
  "url": "{{ site.url }}"
}
</script>

{% comment %}<!-- JSON-LD WEB PAGE -->{% endcomment %}
<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "WebPage",
  "name": "{{ page.meta_tags.t_meta_title }}",
  "description": "{{ page.meta_tags.t_meta_description }}",
  "publisher": {
      "@type": "Organization",
      "name": "{{ site.data.organization.organization.name }}"
  }
}
</script>

{% comment %}<!-- RSS FEED -->{% endcomment %}
{%- for entry in site.data.organization.rss -%}
<link rel="alternate" type="application/rss+xml" title="{{ site.data.organization.name }} {{ entry.name }} RSS" href="{{ site.url }}/{%- if entry.link !='en' -%}{{ entry.link }}/{%- endif -%}feed.xml">
{%- endfor -%}

{% comment %}<!-- GOOGLE TAG MANAGER -->{% endcomment %}
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-5STR7K8');
</script>