Syntax
This documentation explains the syntax of the files for the build file, tree and elements using a syntax which depends on the use of quotation marks. But there was a feedback, that too many quotation marks were seen and that seemed unnecessary.
So from version 0.7 onwards, I have coded two types of syntaxes for the 3 files mentioned below. Note that the syntax for the files for HTMX and AlpineJS, is same as before. So irrespective of whatever you specify as the syntax type, the files for HTMX and AlpineJS must be written in the same manner as explained in this documentation.
If cullfront.settings.txt contains this setting: syntax(0) then the older form of the syntax is used (i.e. where quotation marks are used to delineate strings)
However if you gave syntax(1) then you can omit putting quotation marks in these 3 files: For the build, for the tree and for the elements.
This feature is not fully tested. But I think it is quite stable. In fact syntax(1) also allows you to put quotation marks too, if you so want — for some of the data — hence that syntax type is the default now in cullfront.settings.txt
Last updated