Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Expressプロジェクトに次のようなJadeテンプレートがあります(簡潔にするために簡略化):
!!! 5 head ... body include path/to/partial
私が理解しようとしているのは、サーバー変数に基づいてパーシャルを簡単に交換できるように、パーシャルのパスを動的に生成することです。path/to/partial文字列ではないので、連結を提供する方法はありますか?
path/to/partial
ジェイドでそれを行う方法はありません、それは静的です(そしてTJによる設計による)。