moringaman
7/11/2016 - 4:58 PM

Meteor Jade layout

Meteor Jade layout

body  {{ renderPage }}

template(name="layout") {{ > navbar }}
  if currentUser
    div(class="row")
      div(class="col-md-2") {{> sidebar}}
      div(class="col-md-10")
        div(class="messages") {{ > flashMessages}}
        div(class="container main") {{ > yield }}    
     
  else 
  
    div(class="row")
      div(class="col-md-12")
        div(class="messages") {{ > flashMessages}}
        div(class="main") {{ > yield }}