mirror of https://github.com/jkjoy/sunpeiwen.git
20 lines
571 B
Plaintext
20 lines
571 B
Plaintext
extends includes/layout.pug
|
|
|
|
block content
|
|
#page
|
|
if top_img === false
|
|
h1.page-title= page.title
|
|
|
|
case page.type
|
|
when 'tags'
|
|
include includes/page/tags.pug
|
|
when 'link'
|
|
include includes/page/flink.pug
|
|
when 'categories'
|
|
include includes/page/categories.pug
|
|
default
|
|
include includes/page/default-page.pug
|
|
|
|
if page.comments !== false && theme.comments && theme.comments.use
|
|
- var commentsJsLoad = true
|
|
!=partial('includes/third-party/comments/index', {}, {cache: true}) |