init...
This commit is contained in:
20
themes/butterfly/layout/page.pug
Normal file
20
themes/butterfly/layout/page.pug
Normal file
@@ -0,0 +1,20 @@
|
||||
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})
|
||||
Reference in New Issue
Block a user