diff --git a/languages/en.yml b/languages/en.yml index b3cc0ac..5998708 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -18,6 +18,7 @@ widget: article: comments: 'Comments' share: 'Share' + catalogue: 'Catalogue' profile: follow: 'FOLLOW' post: 'post' diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml index 7bd8d7f..19677ec 100644 --- a/languages/zh-CN.yml +++ b/languages/zh-CN.yml @@ -18,6 +18,7 @@ widget: article: comments: '评论' share: '分享到' + catalogue: '文章目录' profile: follow: '关注我' post: '文章' diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 11fff1c..86873bb 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -24,7 +24,7 @@ <% } else { %> <% if (!index && post.toc){ %>
- 文章目录 + <%= __('article.catalogue') %> <%- toc(post.content) %>
<% } %>