- {{ $cheers := "Um" }} + {{ $cheers := "um" }} {{ $posts := .Scratch.Get "postsCount" }} {{ if gt $posts 210 }} - {{ $cheers = "Excellent" }} + {{ $cheers = "excellent" }} {{ else if gt $posts 130 }} - {{ $cheers = "Great" }} + {{ $cheers = "great" }} {{ else if gt $posts 80 }} - {{ $cheers = "Good" }} + {{ $cheers = "good" }} {{ else if gt $posts 50 }} - {{ $cheers = "Nice" }} + {{ $cheers = "nice" }} {{ else if gt $posts 30 }} - {{ $cheers = "Ok" }} + {{ $cheers = "ok" }} {{ end }} - {{ T (printf "PostArchiveCheers%s" $cheers) }} + {{ T (printf "PostArchive.cheers.%s" $cheers) }} {{ T "SymbolComma" }} {{ T "ArchiveCounterTitle" $posts | safeHTML }} {{ T "SymbolComma" }} - {{ T "PostArchiveKeepOn" }} + {{ T "PostArchive.keepOn" }}