I have a template inside a folder located in /templates
that is not related to any entry or section:
/folder/test.html
{% extends '_layout' %}
{% set title = 'myTitle' %}
{% set description = 'myDescription' %}
{% set variable3 = 'hello' %}
{% block content %}
<h1>{{ title }}</h1>
<p>{{ description }}</p>
{% endblock %}
If I want to create a link to this page, I can use the url()
function like this:
<a href="{{ url('folder/test') }}">test</a>
How can I access the variables declared on this page?