{{ $n := .Page.Scratch.Get "gt-assumption-count" }} {{ $newN := add 1 (int $n) }} {{ .Page.Scratch.Set "gt-assumption-count" $newN }} {{ .Page.Scratch.SetInMap "gt-assumptions" (.Get 0) $newN }}