{# ========================================================================== #}
{# :: Changelog detail page #}
{# ========================================================================== #}
{#
	A detail page about one log. It contains information about the log like
	updates, new features, bugfixes and other items. The content is mostly
	markdown passed from the server and rendered through the markdown filter.
#}

{# ========================================================================== #}
{# :: 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-detail",
	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/" + ROUTEDATA.NUMBER
		}
	})}}

{% 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/content.njk" %}

{% endblock %}
