Mercurial > piecrust2
annotate docs/templates/simple.html @ 912:cd236a6af9f6
data: Add access to route metadata in the templating data.
It's available under `route`.
Also, rename `slug` to `rel_url`, because it's confusing when `slug` could
be the route metadata of the same name as provided by the default page source.
The old `slug` is still there for backwards compatibility though.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 28 Apr 2017 10:05:14 -0700 |
parents | 0c3b811d2c26 |
children | 94d7d5e38571 |
rev | line source |
---|---|
741
0c3b811d2c26
docs: Add changelog page.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 {% extends "default.html" %} |
0c3b811d2c26
docs: Add changelog page.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 |
0c3b811d2c26
docs: Add changelog page.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 {% block header %} |
0c3b811d2c26
docs: Add changelog page.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 <br/> |
0c3b811d2c26
docs: Add changelog page.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 {% endblock %} |
0c3b811d2c26
docs: Add changelog page.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 |