getgrav / grav-plugin-taxonomylist

Grav TaxonomyList Plugin
https://getgrav.org
MIT License
25 stars 14 forks source link

Taxonomy values of numbers (even with quotes) are not recognised #1

Closed jkelleher closed 9 years ago

jkelleher commented 9 years ago

With a taxonomy value of (say):

tag: 171

Then this:

{% for tax,value in taxlist['tag'] %}
        <a href="#">{{ tax }} => {{ value }}</a>
    {% endfor %}

yields: 0 => 1 Even using tag: b171 makes it work yielding: b171 => 1

rhukster commented 9 years ago

Sorted with https://github.com/getgrav/grav-plugin-taxonomylist/commit/21fe4f03e99eefb566025b286fd845d160bd1c57