Skip to content

Commit

Permalink
Bugfix of duplicated path in breadcrumbs
Browse files Browse the repository at this point in the history
lists showed /list//list/<list>.html
  • Loading branch information
Steve0Greatness committed May 12, 2024
1 parent b8707bd commit e280882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% endblock %}
{% block title %}{{Title}}{% endblock %}
{% from "_macros.html" import GenerateBreadcrumbs %}
{% block breadcrumbs %}{{ GenerateBreadcrumbs([{ "href": "/list", "title": "List Index" }, { "href": "/list/" + Location, "title": Title }]) }}{% endblock %}
{% block breadcrumbs %}{{ GenerateBreadcrumbs([{ "href": "/list", "title": "List Index" }, { "href": Location, "title": Title }]) }}{% endblock %}
{% block content %}
<h1>{{Title}}</h1>
{{ Content }}
Expand Down

0 comments on commit e280882

Please sign in to comment.