Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ 初心者向け
#4,244 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
94/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, javascript
領域
documentation

調査の方向性

workshop/23-ab-experiments.md を開き、60 行目と 110 行目付近にある 2 つの条件付きの例を確認します。各 {{#endif}} を {{/if}} に置き換え、gh aw compile を実行して条件ブロックが正しく閉じられていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
JavaScript
スター
52
フォーク
26
平均マージ
11時間 32分
マージ済み PR(30日)
22

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/gh-aw-workshop のほかの issue

githubnext/gh-aw-workshop の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。