{% from "macros.twig" import replace_backslash, sanitize %}

{% block title %}
{% set parts = title|split("\\") %}
{% set path = parts|slice(0, -1)|join("\\") %}
{% set name = parts|slice(-1, 1)|join("\\") %}

[[{{ sanitize(replace_backslash(title)) }}]]
=== {{ title }}

{% endblock %}
{% block content %}
{% endblock %}
