Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
doctype html | ||
//- include head | ||
| !{partial('includes/head', null, {cache: true})} | ||
include head | ||
|
||
body | ||
//- 这个wrapper是用在post页面类型,为了toc而存在的 | ||
#body-inner-wrapper | ||
//- include header | ||
| !{partial('includes/header', null, {cache: true})} | ||
include header | ||
if is_post() | ||
block TOC | ||
block mainContent | ||
else | ||
block mainContent | ||
|
||
//- include pagination.pug | ||
| !{partial('includes/pagination', null, {cache: true})} | ||
//- include footer | ||
| !{partial('includes/footer', null, {cache: true})} | ||
include pagination.pug | ||
include footer | ||
//- include after-footer.pug | ||
| !{partial('includes/after-footer', null, {cache: true})} |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters