github.com/coveo/gotemplate@v2.7.7+incompatible/docs/doc_test/conditionals.rendered (about)

     1  {% include navigation.html %}
     2  {% raw %}
     3  # Conditionals in gotemplate
     4  
     5  ```go
     6      TestTrue
     7      TestTrueAndTrue
     8      TestTrueOrFalse
     9      FalseStringIsTrue
    10  ```
    11  
    12  will give:
    13  
    14  ```go
    15      TestTrue
    16      TestTrueAndTrue
    17      TestTrueOrFalse
    18      FalseStringIsTrue
    19  ```
    20  
    21  {% endraw %}