🔀 sync main branch code

This commit is contained in:
elkan1788 2023-04-05 15:49:39 +08:00
commit 726349a2e0

View File

@ -40,7 +40,7 @@
</div>
<div class="tag-cloud-tags">
{{ $randNums := (seq 10) }}
{{ range $name, $items := $tags }}
{{- range $name, $items := $tags }}
<a class="tag-cloud-{{ index (shuffle $randNums) 0 }}" href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}">{{ .Page.Title }}
<span class="tag-list-count">
<sup>({{ len $items }})</sup>