mirror of https://gitlab.com/curben/blog
fix(layout): set website's and blog's <title>
This commit is contained in:
parent
1eaf01b8ed
commit
e4b065288c
|
@ -3,7 +3,7 @@
|
|||
## Source: https://github.com/hexojs/hexo/
|
||||
|
||||
# Site
|
||||
title: Blog
|
||||
title: Curben
|
||||
subtitle:
|
||||
description:
|
||||
author: curben
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
let title = page.title
|
||||
|
||||
if (is_archive()) {
|
||||
title = __('archive_a')
|
||||
title = titlecase(config.archive_dir)
|
||||
|
||||
if (is_month()) {
|
||||
title += ': ' + page.year + '/' + page.month
|
||||
|
|
Loading…
Reference in New Issue