💄 🐛 Fixed multi languages page display & i18n translate message.

This commit is contained in:
凡梦星尘
2022-06-13 21:22:17 +08:00
parent 48d36a2a54
commit 26030c7fcd
8 changed files with 108 additions and 6 deletions

View File

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