diff --git a/_config.yml b/_config.yml index de9a29b..11fcdbc 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,6 @@ # Header menu: - 归档: /archives + Archive: /archives rss: /atom.xml title: GARY.SHEN description: "GARY.SHEN description" @@ -8,9 +8,9 @@ author: GARY.SHEN aboutme: Halo~ # Content -excerpt_link: 全文... +excerpt_link: More... fancybox: true -date_format: "YYYY年MM月DD日" +date_format: "YYYY-MM-DD" socials: github: "https://github.com/gary-Shen" diff --git a/layout/archive.pug b/layout/archive.pug index ad26d4b..91f46f2 100644 --- a/layout/archive.pug +++ b/layout/archive.pug @@ -13,6 +13,6 @@ block content .post-archive__content .post-archive__month= time(post.date, 'MM月') .post-archive__body - a.post-archive__title(href=url_for(post.path))= post.title || '未命名' + a.post-archive__title(href=url_for(post.path))= post.title || 'Untitled' .post-archive__excerpt .post-archive__excerpt-content!= post.excerpt diff --git a/layout/index.pug b/layout/index.pug index 46dcdf4..552b8c7 100644 --- a/layout/index.pug +++ b/layout/index.pug @@ -7,7 +7,7 @@ block content section.article if post.cover img(src=post.cover, alt="").list-cover - a(href=url_for(post.path)).title= post.title || '未命名' + a(href=url_for(post.path)).title= post.title || 'Untitled' .meta include ../_partial/profile .date.meta-ele #{moment(post.date).format(theme.date_format)} diff --git a/layout/post.pug b/layout/post.pug index 31bdb40..5440547 100644 --- a/layout/post.pug +++ b/layout/post.pug @@ -19,11 +19,11 @@ block content .container ul.nav if page.prev - li 上一篇: - a(href=url_for(page.prev.path))= page.prev.title || '未命名' + li Prev: + a(href=url_for(page.prev.path))= page.prev.title || 'Untitled' if page.next - li 下一篇: - a(href=url_for(page.next.path))= page.next.title || '未命名' + li Next: + a(href=url_for(page.next.path))= page.next.title || 'Untitled' if !index && config.disqus_shortname .comments