You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
I tried to replace the main navigation with a list of tags, but it looks like, the tag-list pages are rendered after the pages. Therefor it is not possible to render a tag list using carew.tags and path ind the default template. This results in the following error:
An exception has been thrown during the rendering of a template ("The document with path "tags/Interactive" does not exist.") in "default.html.twig" at line 40.
As a workaround i ended up using this:
{% for tag, items in carew.tags %}
<li><a {% if carew.currentPath == "tags/" ~ tag|lower ~ ".html" %}class="active" {% endif %}href="{{ carew.site.url_absolute }}tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor %}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to replace the main navigation with a list of tags, but it looks like, the tag-list pages are rendered after the pages. Therefor it is not possible to render a tag list using carew.tags and path ind the default template. This results in the following error:
As a workaround i ended up using this:
The text was updated successfully, but these errors were encountered: