Skip to content

feat: Add if block support to example#100

Merged
ianlewis merged 1 commit intomainfrom
97-feature-add-conditional-block-support-to-template-example
Feb 22, 2025
Merged

feat: Add if block support to example#100
ianlewis merged 1 commit intomainfrom
97-feature-add-conditional-block-support-to-template-example

Conversation

@ianlewis
Copy link
Copy Markdown
Owner

@ianlewis ianlewis commented Feb 21, 2025

Description:

Add an {% if var %} support to the template language example.

Related Issues:

Fixes #97

Checklist:

  • Review the CONTRIBUTING.md documentation.
  • Add a reference to a related issue in the repository.
  • Add a description of the changes proposed in the pull request.
  • Add unit tests if applicable.
  • Update documentation if applicable.
  • Add a note in the CHANGELOG.md if applicable.

@ianlewis ianlewis linked an issue Feb 21, 2025 that may be closed by this pull request
@ianlewis ianlewis marked this pull request as ready for review February 21, 2025 03:29
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 96.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.36%. Comparing base (3a5e21f) to head (1a4dfa6).

Files with missing lines Patch % Lines
parser.go 96.66% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   87.66%   89.36%   +1.69%     
==========================================
  Files           3        3              
  Lines         373      395      +22     
==========================================
+ Hits          327      353      +26     
+ Misses         34       30       -4     
  Partials       12       12              
Files with missing lines Coverage Δ
parser.go 93.15% <96.66%> (+1.21%) ⬆️

... and 1 file with indirect coverage changes

@ianlewis ianlewis force-pushed the 97-feature-add-conditional-block-support-to-template-example branch from 4b2e136 to c18e591 Compare February 22, 2025 04:16
Signed-off-by: Ian Lewis <ian@ianlewis.org>
@ianlewis ianlewis force-pushed the 97-feature-add-conditional-block-support-to-template-example branch from c18e591 to 1a4dfa6 Compare February 22, 2025 04:24
@ianlewis ianlewis merged commit 2411f86 into main Feb 22, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] Add conditional block support to template example

2 participants