From be10bed28cc0973cea57a52f4f3f09aa74836813 Mon Sep 17 00:00:00 2001 From: Scot Hacker Date: Sat, 11 Feb 2017 23:47:16 +0000 Subject: [PATCH] Use `pageurl` in locations index, rather than simple slug --- bakerydemo/templates/locations/locations_index_page.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bakerydemo/templates/locations/locations_index_page.html b/bakerydemo/templates/locations/locations_index_page.html index 245645f..63455ae 100644 --- a/bakerydemo/templates/locations/locations_index_page.html +++ b/bakerydemo/templates/locations/locations_index_page.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load wagtailimages_tags %} +{% load wagtailcore_tags %} {% block content-header %} {{ page.title }} @@ -7,6 +7,6 @@ {% block content-body %} {% for location in locations %} -
{{ location.title }}
+
{{ location.title }}
{% endfor %} -{% endblock content-body %} \ No newline at end of file +{% endblock content-body %}