Closed markvantilburg closed 9 years ago
Thanks for the issue.
Just to be clear, with the current version the url have the same value and it's the use of contains
in liquid which have some issue?
It can come from the last version of dotliquid, I will look.
The url is the same as before just the contains does not seem to be working.
Maybe it's my own build, i'll check the latest TC build
Checked with the AppVeyor build, page.Url is correct just the contains does not work
The version of dotliquid used have not this issue, so pretzel must mess with the liquid. The file having the problem is a layout or a content template?
_layouts/default.html which contains: {% include header-menu.html %}
And in the _includes/header-menu.html this code is used: {% if page.url contains 'Oplossingen' %} active{% endif %}
This to mark the current page link as 'active'
page.url
was no longer provided to the liquid engine so the if becomes if '' contains 'Oplossingen'
.
It is now fixed, can you retry with the last version?
Thanks :smiley:
I tried with the new appveyor build: Pretzel.0.2.1.121 and it's working good again +1
This snippet does not work with the current version. {% if page.url contains 'Oplossingen' %} active{% endif %} The previous release build would put "active" when the file is this "Oplossingen-KlantMonitor.html" for example