🐛 Merge branch 'fixed-sub-category-link' into develop

This commit is contained in:
elkan1788 2024-12-01 16:37:03 +08:00
commit a736e8d11c

View File

@ -8,7 +8,7 @@
{{ print (T "PostMeta.category") (T "Symbol.colon") }}
</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="{{ "/categories/" | relLangURL }}{{ (index (last 1 .) 0) | urlize }}" itemprop="url" rel="index">
<a href="{{ "/categories/" | relLangURL }}{{ add (index (last 1 .) 0) "/" | urlize }}" itemprop="url" rel="index">
<span itemprop="name">{{ delimit . "/" }}</span>
</a>
</span>