Merge branch 'develop' of github.com:hugo-next/hugo-theme-next into develop

This commit is contained in:
elkan1788 2024-10-12 09:55:40 +08:00
commit fdfcadadcc
3 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@
pre {
position: relative;
overflow-x: auto;
padding: 4px;
}
table tbody tr {

View File

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

View File

@ -1,7 +1,7 @@
{{ with .Params.tags }}
<div class="post-tags">
{{ range . }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize | lower }}">
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}/">
{{ . }}
</a>
{{ end }}