Mercurial > piecrust2
view docs/templates/section-page.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 | 66f8bbe8de91 |
children | fd95fef51705 |
line wrap: on
line source
{% extends "default.html" %} {% block content %} <div class="container"> <section class="col-md-8"> {{ content|safe }} </section> <aside class="col-md-4"> {% include 'inc/family-sidebar.html' %} </aside> </div> {% endblock %}