This pull request (for issue https://github.com/romanschejbal/gassetic/issues/57) adds new option to gassetic.yml and allows to select type of brackets, that gassetic seek in files.
For example:
if in gassetic.yml:
replacementBrackets:
open: '{#'
close: '#}'
then gassetic find and replace {# {env}:{file} #}{# endbuild #} instead of <!-- {env}:{file} --><!-- endbuild -->
It gives pure html without further comments after compiling twig template.
This pull request (for issue https://github.com/romanschejbal/gassetic/issues/57) adds new option to
gassetic.yml
and allows to select type of brackets, that gassetic seek in files. For example: if in gassetic.yml:then gassetic find and replace
{# {env}:{file} #}{# endbuild #}
instead of<!-- {env}:{file} --><!-- endbuild -->
It gives pure html without further comments after compiling twig template.