2
의 기본/대체 블록을 정의하는 방법 :나는이처럼 보이는 레이아웃이 옥
지금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
작동하지 않지만, 오류를 생각하다하지 않습니다. 어떻게해야할까요?
오 기본적으로 덮어 쓰지 못했습니다! 고맙습니다. – meo