|
@@ -24,7 +24,7 @@
|
|
{{ $tagCount := len $taxonomy.Pages }}
|
|
{{ $tagCount := len $taxonomy.Pages }}
|
|
{{ $weight := div (sub (math.Log $tagCount) (math.Log $min)) (sub (math.Log $max) (math.Log $min)) }}
|
|
{{ $weight := div (sub (math.Log $tagCount) (math.Log $min)) (sub (math.Log $max) (math.Log $min)) }}
|
|
{{ $fontSize := add $fontSmall (mul (sub $fontBig $fontSmall) $weight) }}
|
|
{{ $fontSize := add $fontSmall (mul (sub $fontBig $fontSmall) $weight) }}
|
|
- <a href="{{ .Page.RelPermalink }}" style="font-size:{{ $fontSize }}rem">{{ $name }}</a>
|
|
|
|
|
|
+ <a href="{{ .Page.RelPermalink }}" style="font-size:{{ $fontSize }}rem">{{ .Page.Title }}</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|