【问题标题】:Jade template inheritance block content not working玉模板继承块内容不起作用
【发布时间】:2011-12-31 20:39:01
【问题描述】:

我有 layout.jade:

html
include includes/head  
body
 header
  h1 Jumplink design
  p web design+creative solutions
 include includes/nav
    block content

我的 about.jade 应该扩展布局被解析但没有显示。

extends layout

block content
h3 About me

在我的导航中,我有一个指向 about.jade 的链接。我不知道发生了什么,没有任何效果。

【问题讨论】:

  • 好吧,我真的是 Linux 新手。问题是我对视图所在文件夹的文件权限.oops ..

标签: templates node.js express pug


【解决方案1】:

我希望我能结束这个问题。问题是我的文件权限在所有文件上都不相同。

【讨论】:

    猜你喜欢
    • 2012-11-29
    • 2021-12-10
    • 2021-01-10
    • 2015-04-05
    • 2016-04-05
    • 2011-10-09
    • 1970-01-01
    • 1970-01-01
    • 2021-02-22
    相关资源
    最近更新 更多