tagcloud fix
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 50s
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 50s
This commit is contained in:
parent
0edfafdf7b
commit
4abcf3c2ef
@ -9,3 +9,4 @@ subscribe_mailinglist: Subscribe to our mailing list
|
||||
subscribe: Subscribe
|
||||
come_and_see_us: Come and see us
|
||||
where: Where
|
||||
more_tags: "...more"
|
||||
|
@ -9,3 +9,4 @@ subscribe_mailinglist: Iscriviti alla mailing list
|
||||
subscribe: Iscriviti
|
||||
come_and_see_us: Vieni a trovarci
|
||||
where: Dove siamo
|
||||
more_tags: "...altro"
|
||||
|
@ -49,13 +49,13 @@
|
||||
{{ $c := len .Pages }}
|
||||
{{ $font_size := (add $font_min (mul $c $font_step)) }}
|
||||
{{ if ge $c $count_min_display }}
|
||||
<li style="font-size: {{ $font_size }}rem;">
|
||||
<a href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }}</a><sup>{{ len .Pages }}</sup></li>
|
||||
<li>
|
||||
<a style="font-size: {{ $font_size }}rem;" href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})</a></li>
|
||||
{{ else }}
|
||||
<li style="font-size: {{ $font_size }}rem; display: none;">
|
||||
<a href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }}</a><sup>{{ len .Pages }}</sup></li>
|
||||
<li style="display: none;">
|
||||
<a style="font-size: {{ $font_size }}rem;" href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<li><a href="#" onclick="return show_all_tags(this)">...</a></li>
|
||||
<li><a href="#" onclick="return show_all_tags(this)">{{ T "more_tags" }}</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user