Skip to content

Commit

Permalink
Merge pull request #1 from w3itch-crafter/master
Browse files Browse the repository at this point in the history
Translate to English
  • Loading branch information
meta-network-team authored Apr 23, 2022
2 parents ed6d1a6 + e47b8cd commit 19830d1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Header
menu:
归档: /archives
Archive: /archives
rss: /atom.xml
title: GARY.SHEN
description: "GARY.SHEN description"
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"
Expand Down
2 changes: 1 addition & 1 deletion layout/archive.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion layout/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down
8 changes: 4 additions & 4 deletions layout/post.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19830d1

Please sign in to comment.