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/
|
## Source: https://github.com/hexojs/hexo/
|
||||||
|
|
||||||
# Site
|
# Site
|
||||||
title: Blog
|
title: Curben
|
||||||
subtitle:
|
subtitle:
|
||||||
description:
|
description:
|
||||||
author: curben
|
author: curben
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
let title = page.title
|
let title = page.title
|
||||||
|
|
||||||
if (is_archive()) {
|
if (is_archive()) {
|
||||||
title = __('archive_a')
|
title = titlecase(config.archive_dir)
|
||||||
|
|
||||||
if (is_month()) {
|
if (is_month()) {
|
||||||
title += ': ' + page.year + '/' + page.month
|
title += ': ' + page.year + '/' + page.month
|
||||||
|
|
Loading…
Reference in New Issue