php-liquid icon indicating copy to clipboard operation
php-liquid copied to clipboard

include break if not exists

Open hakimihamdan88 opened this issue 7 years ago • 2 comments

How do I ignore the exception if no files in include? I am planning to let my users keyin the liquid syntax

{% include 'header' %}

hakimihamdan88 avatar Jun 03 '17 02:06 hakimihamdan88

+1.

I would also like to know how to do this and how to specify the folder where the file is located.

It would be really useful if an include example was added to the examples.

I see your post was created some time ago @hakimihamdan88, did you figure it out?

asacarter avatar Jan 31 '18 14:01 asacarter

@asacarter nah, still cant figure out. as for now, Im using Twig ;(

hakimihamdan88 avatar Feb 01 '18 00:02 hakimihamdan88