---
layout: base
---
{% assign pathsplit = page.path | split: '/' %}
{% assign language = pathsplit[0] %}
{% if language == "_it" %}
{% assign language = "it" %}
{% assign links = site.it %}
{% else %}
{% assign language = "en" %}
{% assign links = site.en %}
{% endif %}
{% assign links = links | where_exp: "item", "item.sitemap != false" | sort: "idx" %}
{% assign num = 0 %}
{{ language }}
{% if page.no_header %}{% else %}{{ page.title }}
{% endif %}
{{ content }}
{% for link in links %}
{% if link.title == page.title %}
{% unless forloop.first %}
{% assign prev = tmpprev %}
{% endunless %}
{% unless forloop.last %}
{% assign next = links[forloop.index] %}
{% endunless %}
{% endif %}
{% assign tmpprev = link %}
{% endfor %}