diff --git a/config.toml b/config.toml index 42dec01..fcc4e2a 100644 --- a/config.toml +++ b/config.toml @@ -18,7 +18,7 @@ archetypeDir = "../kollegen-posts/archetypes" category = "categories" tag = "tags" sport = "sports" - eventtype = "eventtypes" + type = "types" member = "members" location = "locations" year = "years" diff --git a/layouts/partials/members-summary.html b/layouts/partials/members-summary.html index 8255d70..efdca1a 100644 --- a/layouts/partials/members-summary.html +++ b/layouts/partials/members-summary.html @@ -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 }} + {{ $height = mul (float $totalHeight ) ( div (float $count ) ( float $maxCount ) ) }} {{/* $maxDist */}} {{/* $dist */}} {{/* $x */}}