fixed bug with breadcrumb routes (#1554)

* fixed bug with breadcrumb routes

* removed example files in commit

* Delete example-openapi.yml

* Delete example-config.yml
This commit is contained in:
Emmanuel Jolaiya
2024-02-27 16:37:56 +00:00
committed by GitHub
parent 4b2b60c1de
commit 988d8aa7e2
2 changed files with 22 additions and 17 deletions
+4
View File
@@ -103,6 +103,10 @@ ENV/
# pygeoapi artifacts
*.openapi.yml
# development setup examples
example-config.yml
example-openapi.yml
# misc
*.swp
.pytest_cache
@@ -1,18 +1,19 @@
{% extends "_base.html" %}
{% block title %}{{ super() }} {% trans %}TileMatrixSet{% endtrans %} {% endblock %}
{% block crumbs %}{{ super() }}
/ <a href="./TileMatrixSets/{{ data['id'] }}">{% trans %}TileMatrixSet{% endtrans %}</a>
{% endblock %}
{% block body %}
<section id="tilematrixset">
{% extends "_base.html" %} {% block title %}{{ super() }} {% trans
%}TileMatrixSet{% endtrans %} {% endblock %} {% block crumbs %}{{ super() }} /
<a href="./">{% trans %}TileMatrixSet{% endtrans %}</a>
{% endblock %} {% block body %}
<section id="tilematrixset">
<h1>{{ data['id'] }} tile matrix set</h1>
<ul>
<li>CRS: <i>{{ data['crs'] }}</i></li>
<li>Uri: <i>{{ data['uri'] }}</i></li>
<li>Well Known Scale Set: <i>{{ data['wellKnownScaleSet'] }}</i></li>
<li>
CRS: <i>{{ data['crs'] }}</i>
</li>
<li>
Uri: <i>{{ data['uri'] }}</i>
</li>
<li>
Well Known Scale Set: <i>{{ data['wellKnownScaleSet'] }}</i>
</li>
</ul>
</section>
</section>
{% endblock %}