意外的令牌"在身体标签前的哈巴狗

时间:2017-04-02 05:16:02

标签: html express pug

帕格是荒谬的,我根本无法发现错误。以下是我的完整哈巴狗文件。

html
    head
        meta(charset="utf-8")
        meta(http-equiv="X-UA-Compatible",content="IE=edge")
        meta(name="viewport", content="width=device-width, initial-scale=1")
        script(src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/js/bootstrap.min.js")
        script(src="ga.js")
        link(rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-design/4.0.2/bootstrap-material-design.min.css")
        link(rel="stylesheet" href="app.css")
        title= "my title"
    body                        
        .container
            .row
                .col-md-12
                    h1="My h1 tag"

1 个答案:

答案 0 :(得分:0)

这些行上不需要“=”:title= "my title"应该是title my titleh1="My h1 tag"应该是h1 My h1 tag