Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[workshop-sync] 23-ab-experiments.md: incorrect templating closing tag `{{#endif}}`

Open Beginner friendly
#4,244 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
94/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github, javascript
Domain
documentation

Research direction

Open workshop/23-ab-experiments.md and inspect the two conditional examples around lines 60 and 110. Replace each {{#endif}} with {{/if}}, then run gh aw compile to check that the conditional blocks close correctly.

Written by the indexing model from the issue text.

Description

documentation

Workshop file reviewed

workshop/23-ab-experiments.md

Problem

The file uses {{#endif}} as the closing tag for conditional template blocks in two code examples (lines 60 and 110):

{{#if experiments.output_style }}
...
{{#endif}}

Current correct syntax

gh-aw's templating syntax closes {{#if ...}} blocks with {{/if}}, not {{#endif}}. This is confirmed by:

  • /tmp/gh-aw/data/ref/syntax-agentic.md (line 83): {{#if experiments.<name> }} is the opening form, implying the standard {{#if}}...{{/if}} pairing.
  • Live usage in this repo's own compiled workflow source .github/workflows/q.md (lines 52-86), which consistently uses {{#if ... }} paired with {{/if}}.

Using {{#endif}} instead of {{/if}} will cause the conditional block to fail to close correctly when compiled with gh aw compile.

Suggested fix

Replace both occurrences of {{#endif}} with {{/if}} in workshop/23-ab-experiments.md (lines 60 and 110).

Generated by 🔍 Workshop Sync Check · copilot · auto · 131.7 AIC · ⌖ 5.63 AIC · ⊞ 9.2K · ◷

  • expires on Oct 7, 2026, 5:02 AM UTC
Dominant language
JavaScript
Stars
51
Forks
23
Avg merge
11h 32m
Merged PRs (30d)
22

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from githubnext/gh-aw-workshop

All issues in githubnext/gh-aw-workshop

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.