From 4c7e107c08dca8d263f80708cca9f42fed435e82 Mon Sep 17 00:00:00 2001 From: shenyu <448766534@qq.com> Date: Sun, 2 Feb 2020 10:59:00 +0800 Subject: [PATCH] fix: category head.ejs --- layout/_partial/head.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index a6a9cdd..da54390 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -6,7 +6,7 @@ <% var title = page.title; if (is_archive()) { title = __('archive_a'); if (is_month()) { title += ': ' + page.year + '/' + page.month; } else if (is_year()) { title += ': ' + page.year; } } else if (is_category()) { title - = __('categories.ejs') + ': ' + page.categories; } else if (is_tag()) { + = page.category; } else if (is_tag()) { title = __('tag') + ': ' + page.tag; } %> <% if (page.keywords){ %> <% } else if (config.keywords){ %>