🐛 Fixed the post header meta information.

This commit is contained in:
凡梦星尘 2022-06-13 19:59:22 +08:00
parent 52426b4cef
commit 48d36a2a54
3 changed files with 12 additions and 15 deletions

View File

@ -31,17 +31,17 @@ SymbolComma:
SymbolPeriod: SymbolPeriod:
other: "." other: "."
SitePostsTitle: SbPostsLable:
other: "Posts" other: "Posts"
SiteCatesTitle: SbCatesTitle:
other: "Categories" other: "Categories"
SiteTagsTitle: SbTagsTitle:
other: "Tags" other: "Tags"
TableOfContents: TableOfContents:
other: "TOC" other: "TOC"
SiteOverview: SiteOverview:
other: "Overview" other: "Overview"
RSSTitle: RSSLable:
other: "RSS Subscribe" other: "RSS Subscribe"
CCLinkTitle: CCLinkTitle:
other: "Creative Commons" other: "Creative Commons"
@ -50,15 +50,12 @@ BackTopLabel:
TagsCounterTitle: TagsCounterTitle:
zero: No tags zero: No tags
one: 1 tag in total
other: "{{ .Count }} tags in total" other: "{{ .Count }} tags in total"
CatesCounterTitle: CatesCounterTitle:
zero: No categories zero: No categories
one: 1 category in total
other: "{{ .Count }} categories in total" other: "{{ .Count }} categories in total"
ArchiveCounterTitle: ArchiveCounterTitle:
zero: No posts. zero: No posts.
one: 1 post.
other: "{{ .Count }} posts in total." other: "{{ .Count }} posts in total."
PostArchiveCheersUm: PostArchiveCheersUm:
@ -79,13 +76,15 @@ PostArchiveKeepOn:
PostStickyTitle: PostStickyTitle:
other: Strickys other: Strickys
PostPublishDate: PostPublishDate:
other: "Publish" other: "Publish on"
PostPublishTime: PostPublishTime:
other: "Create Time" other: "Create Time"
PostLastModDate: PostLastModDate:
other: "Update" other: "Update on"
PostLastModTime: PostLastModTime:
other: "Modify Time" other: "Modify Time"
PostCategory:
other: "Classify at"
PostWords: PostWords:
other: "Words" other: "Words"
PostWordCount: PostWordCount:
@ -96,8 +95,6 @@ PostReadTime:
other: "{{- .ReadingTime -}}min" other: "{{- .ReadingTime -}}min"
PostViews: PostViews:
other: "Views" other: "Views"
PostCatg:
other: "Categories"
PostTag: PostTag:
other: "Tags" other: "Tags"
PostReadMore: PostReadMore:

View File

@ -84,6 +84,8 @@ PostLastModDate:
other: 更新于 other: 更新于
PostLastModTime: PostLastModTime:
other: 修改时间 other: 修改时间
PostCategory:
other: "分类于"
PostWords: PostWords:
other: 字数 other: 字数
PostWordCount: PostWordCount:
@ -94,8 +96,6 @@ PostReadTime:
other: "{{- .ReadingTime -}}分钟" other: "{{- .ReadingTime -}}分钟"
PostViews: PostViews:
other: 浏览 other: 浏览
PostCatgs:
other: 分类
PostTags: PostTags:
other: 标签 other: 标签
PostReadMore: PostReadMore:
@ -135,7 +135,7 @@ RewardBitcoin:
PostCommentTitle: PostCommentTitle:
other: 评论交流 other: 评论交流
UserVistorsLabel: VisitorsLabel:
other: 总访客量 other: 总访客量
PageViewsLabel: PageViewsLabel:
other: 总访问量 other: 总访问量

View File

@ -4,7 +4,7 @@
<span class="post-meta-item-icon"> <span class="post-meta-item-icon">
<i class="far fa-folder-open"></i> <i class="far fa-folder-open"></i>
</span> </span>
<span class="post-meta-item-text">{{- print (T "PostCatgs") (T "SymbolColon") -}}</span> <span class="post-meta-item-text">{{- print (T "PostCategory") (T "SymbolColon") -}}</span>
{{- range (first 1 .Params.categories) }} {{- range (first 1 .Params.categories) }}
<span itemprop="about" itemscope itemtype="http://schema.org/Thing"> <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/{{ . | urlize }}" itemprop="url" rel="index"> <a href="/categories/{{ . | urlize }}" itemprop="url" rel="index">