0
我正在使用HAML與機車CMS的液體模板。最近,我收到以下錯誤:Locomotive Liquid :: SyntaxError at/Tag'{%'未正確終止正則表達式:/ %}/
Liquid::SyntaxError at/
Tag '{%' was not properly terminated with regexp: /\%\}/
我使用的是塊標記由子模板文件覆蓋它添加類的li
。僅供參考,我正在使用Liquidomotive的Liquid fork中包含的Liquid Inheritance。
%li.menu-list-item{:class => "{% block 'at_about_page' %}{% endblock %}"}