{# ========================================================================== #}
{# :: Changelog page #}
{# ========================================================================== #}
{#
	This is the page used to display the versioning to the client
	or any third party. Here we explain what has changed, updated
	and fixed based on the previous iteration.
#}

{# ========================================================================== #}
{# :: Imports #}
{# ========================================================================== #}
{% import "components/header.njk" as header %}
{% import "components/aside.njk" as aside %}
{% import "globals/nav.njk" as navGlobals %}

{# ========================================================================== #}
{# :: Inheritance #}
{# ========================================================================== #}
{% extends "base/extends/content.njk" %}

{# ========================================================================== #}
{# :: Settings & variables #}
{# ========================================================================== #}
{% set pageParams = {
	id: "changelog",
	bodyClass: "",
	loadProjectCSS: false,
	loadProjectJS: false,
	loadCoreCSS: true,
	loadCoreJS: true,
	loadOverwriteCSS: true
} %}

{# ========================================================================== #}
{# :: Header #}
{# ========================================================================== #}
{% block header %}

	{{header.aside("", {
		nav: {
			active: CONFIG.taxonomy.library.route,
			items: navGlobals.items,
			language: ROUTEDATA.LANGUAGE,
			languages: ROUTEDATA.LANGUAGES,
			staticPath: "/" + CONFIG.taxonomy.library.route + "/changelog"
		}
	})}}

{% endblock %}

{# ========================================================================== #}
{# :: Aside #}
{# ========================================================================== #}
{% block aside %}

	{{aside.default("", {
		active: {
			item: "changelog"
		},
		search: {
			id: "library-search",
			name: "library-search",
			placeholder: "Search"
		} if ROUTEDATA.NAVIGATION,
		toc: ROUTEDATA.NAVIGATION,
		meta: [
			{
				title: "Changelog",
				url: "/" + CONFIG.taxonomy.library.route + "/changelog",
				slug: "changelog"
			}
		],
		button: {
			text: "Getting started",
			url: "/" + CONFIG.taxonomy.library.route + "/manual"
		}
	})}}

{% endblock %}

{# ========================================================================== #}
{# :: Content #}
{# ========================================================================== #}
{% block content %}

	{% include "partials/changelog/list.njk" %}

{% endblock %}
