【发布时间】:2016-11-21 17:51:39
【问题描述】:
我有 index.html.jade 文件:
extends ../layouts/default.html.jade
block title
title Index page
include ../partials/page-title.jade
section#blog-content
.container
.row
.col-lg-12.col-md-12
.blogArchive-area
.row
.col-md-9
.blog-content
.single-blog
.single-blog-left
include ../partials/comment-box-left.jade
.single-blog-right
.post-item
.post-image
.row
.col-md-12
.img-wrapper
include ../partials/post-image.jade
我在 partials 文件夹中有 3 个部分:
partials/page-title.jade
partials/comment-box-left.jade
and partials/post-image.jade
但是当我使用 docpad 运行 index.html 时,不会在某些部分文件中呈现代码。请帮我解决它
【问题讨论】: