次のようなレイアウトがあります。
body
header.l-header.l-site-width
block header
// include the block with the name body form whatever file that uses layout
.l-body.l-site-width
block body
footer.l-footer.l-site-width
block footer
現在、レイアウトを使用しているファイルでヘッダー ブロックを指定していません。デフォルトのインクルードを使用したいと考えています。
私は試した:
block header || "something else"
最良の場合:
block header || include ../partials/base/header
動作しませんが、エラーは発生しません。これを行う方法はありますか?