85
rated 0 times
[
86]
[
1]
/ answers: 1 / hits: 9233
/ 11 Years ago, sat, december 28, 2013, 12:00:00
I'm referring the following great tutorial on MEAN stack.
Now I'm facing a template(JADE) related issue which I'm not able to resolve :(
Can you plz have a look and help me if possible.
http://www.ibm.com/developerworks/library/wa-nodejs-polling-app/
doctype 5
html(lang='en')
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width,
initial-scale=1, user-scalable=no')
title= title
link(rel='stylesheet', href='//netdna.bootstrapcdn.com/bootstrap/3.0.1/
css/bootstrap.min.css')
link(rel='stylesheet', href='/stylesheets/style.css')
body
nav.navbar.navbar-inverse.navbar-fixed-top(role='navigation')
div.navbar-header
a.navbar-brand(href='#/polls')= title
div.container
div
I'm getting this exception. Tried couple of varitions but couldn't resolve it yet.
Error: C:DevEnvUT3_NodeHelloWorldNodeProjectviewsindex.jade:14
12| a.navbar-brand(href='#/polls')= title
13| div.container
> 14| div
**link is self closing and should not have content.**
Thanks in adv.
More From » node.js