From 38773dcaf733f9d71d26adf90447c9094a792685 Mon Sep 17 00:00:00 2001 From: W3itch <102356891+w3itch@users.noreply.github.com> Date: Sat, 23 Apr 2022 11:48:27 +0800 Subject: [PATCH 1/4] Update archive.pug --- layout/archive.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From e5f28e35f1a804d2063e920b2c4edbc9d70a4fc4 Mon Sep 17 00:00:00 2001 From: W3itch <102356891+w3itch@users.noreply.github.com> Date: Sat, 23 Apr 2022 11:48:45 +0800 Subject: [PATCH 2/4] Update index.pug --- layout/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)} From 889be12a51434d8abe3434975c5bdc1bb3dd8bb5 Mon Sep 17 00:00:00 2001 From: W3itch <102356891+w3itch@users.noreply.github.com> Date: Sat, 23 Apr 2022 11:49:21 +0800 Subject: [PATCH 3/4] Update post.pug --- layout/post.pug | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 From e47b8cdc3ea54c42b0fe491f93384a18af31c794 Mon Sep 17 00:00:00 2001 From: W3itch <102356891+w3itch@users.noreply.github.com> Date: Sat, 23 Apr 2022 11:50:03 +0800 Subject: [PATCH 4/4] Update _config.yml --- _config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"