增加categories和tags的多语言
This commit is contained in:
parent
ccd397a9db
commit
329d062e6e
@ -31,3 +31,9 @@
|
|||||||
|
|
||||||
- id: code_copied
|
- id: code_copied
|
||||||
translation: "copied!"
|
translation: "copied!"
|
||||||
|
|
||||||
|
- id: Categories
|
||||||
|
translation: "Categories"
|
||||||
|
|
||||||
|
- id: Tags
|
||||||
|
translation: "Tags"
|
@ -31,3 +31,9 @@
|
|||||||
|
|
||||||
- id: code_copied
|
- id: code_copied
|
||||||
translation: "已复制!"
|
translation: "已复制!"
|
||||||
|
|
||||||
|
- id: Categories
|
||||||
|
translation: "分类"
|
||||||
|
|
||||||
|
- id: Tags
|
||||||
|
translation: "标签"
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{{- if .Title }}
|
{{- if .Title }}
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ i18n .Title }}</h1>
|
||||||
{{- if .Description }}
|
{{- if .Description }}
|
||||||
<div class="post-description">
|
<div class="post-description">
|
||||||
{{ .Description }}
|
{{ .Description }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user