layout.html 파일에

위젯 페이지 ID가aaaa 이면 bbbb.html 파일을 인클루드 한다란 내용을 추가하려고 합니다

 

<!--@if(Context::get('mid')=='aaaa') -->

     <inclde target="/bbbb.html" />

<!--@end-->

 

이렇게 쓰면 될까요?

  • profile
    <!--@if($mid == 'aaaa')-->
    <inclde target="bbbb.html" />
    <!--@end-->
  • ?
    답변 감사드립니다~^^