增加categories和tags的多语言

This commit is contained in:
JohnathanLin 2022-10-16 15:16:00 +08:00
parent ccd397a9db
commit 329d062e6e
3 changed files with 13 additions and 1 deletions

View File

@ -31,3 +31,9 @@
- id: code_copied
translation: "copied!"
- id: Categories
translation: "Categories"
- id: Tags
translation: "Tags"

View File

@ -31,3 +31,9 @@
- id: code_copied
translation: "已复制!"
- id: Categories
translation: "分类"
- id: Tags
translation: "标签"

View File

@ -2,7 +2,7 @@
{{- if .Title }}
<header class="page-header">
<h1>{{ .Title }}</h1>
<h1>{{ i18n .Title }}</h1>
{{- if .Description }}
<div class="post-description">
{{ .Description }}