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.
再利用性のために、別のウィジェット内でウィジェットを再利用したいと考えています。たとえば、ウィジェット ファイルにblogpost.hamletは、投稿の表示方法やblog.hamlet完全なブログを含めることができます。
blogpost.hamlet
blog.hamlet
次のコンテンツはblog.hamlet機能しません。
$forall post <- posts ^{widgetFile "blogpost")
では、あるウィジェットを別のウィジェットに埋め込む正しい構文は何ですか?