{{/* A specification's accent: its own colour, else the colour of its kind. */}} {{ $color := .Params.color }} {{ if not $color }} {{ with partialCached "spec/term.html" (dict "page" . "taxonomy" "kinds") .RelPermalink "kinds" }} {{ $color = .Params.color }} {{ end }} {{ end }} {{ return ($color | default "#e6f758") }}