未验证 提交 17e0be6c 编写于 作者: C cjh0613 提交者: GitHub

refactor: Show post title in site title (#56)

上级 2578c564
......@@ -15,7 +15,7 @@
} else if (is_tag()) {
title = __('title.tag') + ': ' + page.tag + title_suffix;
} else if (is_post()) {
title = page.title || (__('post.untitled') + title_suffix);
title = (page.title || __('post.untitled')) + title_suffix;
} else {
if (page.type === 'tags') {
title = __('title.tag') + title_suffix;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册