fix(layout): set website's and blog's <title>

This commit is contained in:
curben 2019-06-13 13:35:49 +09:30
parent 1eaf01b8ed
commit e4b065288c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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