2023-10-03 11:14:36 +08:00
|
|
|
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
|
2023-09-25 15:58:56 +08:00
|
|
|
!=partial('includes/third-party/comments/index', {}, {cache: true})
|