From 4ffa70dec790bb4f2ba6ac3d9628c3cc23d6d7ff Mon Sep 17 00:00:00 2001 From: Denis Rykov Date: Tue, 6 Sep 2022 22:16:50 +0200 Subject: [PATCH] Cast collection title to string --- pygeoapi/templates/collections/items/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoapi/templates/collections/items/index.html b/pygeoapi/templates/collections/items/index.html index 62e68f2..5bc19c1 100644 --- a/pygeoapi/templates/collections/items/index.html +++ b/pygeoapi/templates/collections/items/index.html @@ -4,7 +4,7 @@ / {% trans %}Collections{% endtrans %} {% for link in data['links'] %} {% if link.rel == 'collection' %} / - {{ link['title'] | truncate( 25 ) }} + {{ link['title'] | string | truncate( 25 ) }} {% set col_title = link['title'] %} {% endif %} {% endfor %}