Skip to content

need help for pongo2's syntax #218

@dayuoba

Description

@dayuoba

i've searched and watched the docs, but i don't know how to just ignore some blocks in template.

e.g.

temp:

hello {{name}}

below is some block contains some syntax conflict with pongo2's syntax
i want to just skip this blocks

{% skip %}

{{#success build.status}}
   do something
{{else}}
  do something else
{{/success}}

{% endskip %}

here is other text won't be ignored
hi {{ pongo }}

i want to konw if we have some syntax like {% comment %} but it's behavior is just skip/jump some block

any helps is welcome, thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions