Ignore specific tag in Jekyll

I am building a site using Jekyll and I have something similar to {{ }} (liquid tag) in my code. I want this to end in the html output after Jekyll has finished creating the site, but Jekyll interprets it like any other tag. Is there a way to get Jekyll to ignore only this particular instance of this tag?

+4
source share
1 answer

Use the tag {% raw %} :

 {% raw %} {{ ... }} {% endraw %} 

This snippet will create {{ ... }} .

+11
source

All Articles