fixed members pulsbar
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ archetypeDir = "../kollegen-posts/archetypes"
|
||||
category = "categories"
|
||||
tag = "tags"
|
||||
sport = "sports"
|
||||
eventtype = "eventtypes"
|
||||
type = "types"
|
||||
member = "members"
|
||||
location = "locations"
|
||||
year = "years"
|
||||
|
||||
@@ -54,11 +54,7 @@ function onyearout(key){
|
||||
{{ end }}
|
||||
|
||||
{{ $height := 0 }}
|
||||
{{ if gt $maxDist 0 }}
|
||||
{{ $height = mul (float $totalHeight ) ( div (float $dist ) ( float $maxDist ) ) }}
|
||||
{{ else }}
|
||||
{{ $height = mul (float $totalHeight ) ( div (float $count ) ( float $maxCount ) ) }}
|
||||
{{ end }}
|
||||
{{/* $maxDist */}}
|
||||
{{/* $dist */}}
|
||||
{{/* $x */}}
|
||||
|
||||
Reference in New Issue
Block a user