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

Hot tip about custom variables

オープン
#1,459 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
php
領域
documentation

調査の方向性

Read the Antlers “Creating variables” section linked in the issue and review its existing examples. Add a hot tip recommending prefixes for custom variables, or update the examples to use prefixed names; done means the guidance or examples clearly communicate that best practice.

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

説明

I've run into a complex variable collision issue in Antlers with variables and nested partials. I've talked to @JohnathonKoster about it and there appears to be no real solution to the problem other than prefixing custom variables.

CleanShot 2024-09-24 at 10 12 25@2x

It would be great if the docs on creating variables had one of those hot tips about prefixing custom variables as a best practice. Or maybe even prefixing all custom variables in the docs examples as well.

主要言語
PHP
スター
133
フォーク
405
平均マージ
21時間 45分
マージ済み PR(30日)
12

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

statamic/docs のほかの issue

statamic/docs の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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