{{ $month := .Get "month" }} {{ if not $month }} {{ errorf "Error: 'month' is a required parameter." }} {{ end }} {{ $year := .Get "year" }} {{ if not $year }} {{ errorf "Error: 'year' is a required parameter." }} {{ end }} {{ $label := .Get "label" }} {{ if not $label }} {{ errorf "Error: 'label' is a required parameter." }} {{ end }} {{ $daysInMonth := 27 }}