Ask a Question
Back to All

link_to single page not working



I'm trying to use the link_to liquid tag.

The documentation linked above makes it seem very simple, but I just can't make it work.

I have a page called "ecosysteme" (that's its slug) and I simply wrote:

{% link_to 'ecosysteme' %}

According to the docs this should generate something like <a href="/path/to/ecosysteme">Écosystème</a> but nothing is displayed when I use it.

What have I done wrong?