Note that there are some explanatory texts on larger screens.

plurals
  1. POExpress, jade layout file rendering body but not rendering head
    primarykey
    data
    text
    <p>My problem is with my jade layout file not rendering correctly. The body is rendered but the head tags in the produced html are empty. I have tried to render the layout.jade file separately and it works perfectly.</p> <p>Here is my layout.jade file</p> <pre><code>!!! html head title= title link(rel='stylesheet', href='stylesheets/style.css') script(type='text/javascript', src='javascripts/jquery-1.7.2.js') link(rel='stylesheet', href='stylesheets/pictogram-button.css') body header(style='padding-bottom:50px;') include partials/header section(style='min-height:600px;') div!= body footer.footer include partials/footer </code></pre> <p>And here is my index.jade file</p> <pre><code>.line_h100t .column_wrap800 .round_box1_w800 .list_fl10 ul.line_h40 li(style='margin-left:20px;') ul li img(src='/images/icon/whiteWithoutCircle/check.png') img(src='/images/login/loginTxt.png') ul.line_h40t li(style='margin-left:50px;') p 로그인이 필요하신 분은 p Oopa Roopa 관리팀으로 문의해 주세요! li(style='border-left:1px solid #999; padding:0 0 0 20px;') ul li span.text_yellow ID ul li input.login_input(type='text') ul.line_h35t li span.text_yellow PASSWORD ul li input.login_input(type='password') li ul.line_h10t a.button-bevel.transparency(href='#') .line_h35 span.lock p(style='width:100px;') LOGIN </code></pre> <p>And here is the function in my express app that renders the index file.</p> <pre><code> adminLogin : function (req,res) { res.render( 'index', { title: 'Admin Login', pageCategory: 'Admin Login', pageName : 'index' }); }, </code></pre> <p>Thank you in advance for any help you an give me.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload