simple-strap with Tags Plugin
petersell opened this issue · comments
Hi Andrew, thank you for this theme. I want to use in common with the Tags Plugin. Unfortunately the plugin´s script for the blog-post.html-template
{% if this.tags %}
<ul>
{% for t in this.tags -%}
<li>
<a href="{{ ('/blog@tag/' ~ t.lower())|url }}">
All posts tagged {{ t }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}
gives back a wrong URL to the tags page: /blog@tag/dita
instead of /blog/tag/dita
. Astonishingly the Tags Plugin works fine with the quickstart template of lektor. All other prerequisites like configs/tags.ini etc I have done as well. I am using Python 3.8. Do you have any idea?
I have found following solution:
<a class="tags" href="{{ ('/blog/tag/' ~ t.lower() ~ '/')|url }}">
Blogposts mit dem Stichwort {{ t }}
</a>
here: https://github.com/ericmjl/website/blob/master/templates/macros/blog.html
Glad that I still can use your theme, anyway. Thank you ;-)