Some liquid filters do not function as a filter.

I am trying to use a handleizeliquid filter in Jekyll, but it seems to pass the text directly without filtering.

I have an include file (e.g. _include/example.html), inside of which there is

{{ 'Test Text' | handleize }}

From reading some documentation, I expect the following text to be generated

test-text

but instead i get

Test Text

Is there something obvious I'm missing here? I am using Jekyll 1.4.3 and liquid 2.5.5.

An interesting point is that there seems to be no filter handlewhen I look in the Liquid API docs, but it is vague that the Jekyll docs point to the doc link above.

+4
2

, , Jekyll 2.4.0 , slugify, , handleize .

+1

Handelize Jekyll. . ( Jekyll-Liquid vs. Shopify-Liquid).

Jekyll-Plugins, , . Downcase Replace :

{{ 'Test Text' | downcase | replace: ' ', '-' }}
0

Source: https://habr.com/ru/post/1527141/


All Articles