You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1008 B
38 lines
1008 B
1 year ago
|
|
||
|
- var pageTitle = page.title || config.subtitle || ''
|
||
|
- if (is_archive()) pageTitle = 'Archives'
|
||
|
- if (is_tag()) pageTitle = 'Tag: ' + page.tag
|
||
|
- if (is_category()) pageTitle = 'Category: ' + page.category
|
||
|
- if (is_month()) pageTitle += ': ' + page.month + '/' + page.year
|
||
|
- if (is_year()) pageTitle += ': ' + page.year
|
||
|
- pageTitle += ' [ ' + config.title + ' ]'
|
||
|
|
||
|
doctype html
|
||
|
html(lang='zh-cn')
|
||
|
head
|
||
|
meta(charset='UTF-8')
|
||
|
title= pageTitle
|
||
|
if theme.stylesheets !== undefined && theme.stylesheets.length > 0
|
||
|
//- stylesheets list from _config.yml
|
||
|
each url in theme.stylesheets
|
||
|
link(rel='stylesheet', href=url)
|
||
|
body
|
||
|
#container.container
|
||
|
header#header.header
|
||
|
.header-box
|
||
|
include ./_partials/header.pug
|
||
|
hr
|
||
|
.bottom-declaration
|
||
|
|
||
|
main#main.main
|
||
|
.main-box
|
||
|
#content.content
|
||
|
block content
|
||
|
|
||
|
|
||
|
|
||
|
footer#footer.footer
|
||
|
.footer-box
|
||
|
include ./_partials/footer.pug
|
||
|
|