{% assign buildTime = site.time | date: '%Y%m%d%H%M' %}
<!DOCTYPE html>
<!--[if IE 8]><html lang="{{ active_lang }}" class="no-js ie89 ie8"><![endif]-->
<!--[if IE 9]><html lang="{{ active_lang }}" class="no-js ie89 ie9"><![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="{{ active_lang }}" class="no-js" prefix="og: http://ogp.me/ns#">
<!--<![endif]-->

<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="google-site-verification" content="8IbTZ-PnSdvOnC8S4q-wjSiZ2B-90cVugO04xMu6vug" />

  <title>
      {% comment %}The following code is valid for pages with publiccode data (i.e. software description pages) see https://github.com/italia/developers.italia.it/issues/1026 {% endcomment %}
      {% assign description = page.publiccode.description[active_lang]
      | default: page.publiccode.description.en
      | default: page.publiccode.description.it %}

      {% assign sw_name = description.localisedName | default: page.publiccode.name %}
    {{ sw_name | default: page.title | default: page.name | default: t.site_title | default: site.title |
    escape }}
  </title>

  {% seo title=false%}

  <link rel="alternate" type="application/atom+xml" title="{{ site.title | escape }} (it)" href="{{ site.baseurl }}/it/news/feed.atom">
  <link rel="alternate" type="application/atom+xml" title="{{ site.title | escape }} (en)" href="{{ site.baseurl }}/en/news/feed.atom">

  {% if jekyll.environment == "production" %}
  <link href="{{ site.baseurl }}/dist/main.css?{{ buildTime }}" rel="stylesheet">
  {% else %}
  <link href="//localhost:8080/main.css" rel="stylesheet">
  {% endif %}

  <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/icons/apple-touch-icon.png' | relative_url }}">
  <link rel="icon" type="image/png" href="{{ '/assets/icons/favicon-32x32.png' | relative_url }}" sizes="32x32">
  <link rel="icon" type="image/png" href="{{ '/assets/icons/favicon-16x16.png' | relative_url }}" sizes="16x16">
  <link rel="manifest" href="{{ '/manifest.json' | relative_url }}">
  <link rel="mask-icon" href="{{ '/assets/icons/safari-pinned-tab.svg' | relative_url }}">
  <link rel="shortcut icon" href="{{ '/assets/icons/favicon.ico' | relative_url }}">
  <meta name="apple-mobile-web-app-title" content="{{ site.title }}">
  <meta name="application-name" content="{{ site.title }}">
  <meta name="msapplication-config" content="{{ '/assets/icons/browserconfig.xml' | relative_url }}">
  <meta name="theme-color" content="{{ site.theme_color }}">

  <script>
    window.lang = "{{ active_lang }}";
  </script>

  {% if jekyll.environment == 'production' and site.webanalytics_italia %} {% include webanalytics-italia.html %} {% endif %}
</head>

<body class="layout-{{ page.layout }}">
