Liquid Parser Inside Text Based Files

  • Liquid
 0  Votes for this feature
Liquid (and module rendering) inside other text based files such as .css, .js, .xml, .json, .txt, etc.
Add ".liquid" suffix to the file URL to force it to be processed by the liquid engine.

Example

File:
/assets/css/main.css
In order to parse file by liquid first use such link:
/assets/css/main.css.liquid