grav
grav copied to clipboard
Page-level Twig incorrectly returns a URL
If I use page-level Twig, it does not process the ...<a href="{{ p.url }}">... link, but returns an escaped code https://www.example.com/%7B%7B%20p.url%20%7D%7D.
I use Grav v1.7.33. In some previous versions, it worked fine. The rest of Twig is working fine now.
Currently, it looks like there has been an incorrect update to Grav v1.7.33. It works on other sites. I will try to reinstall it.
I discovered the cause of the problem, it is caused by the enabled Page Toc plugin.
More info: https://github.com/trilbymedia/grav-plugin-page-toc/issues/21.