{{ $id := .Get "id" | default "featured-story-container" }} {{ $templateId := .Get "templateId" }} {{ $templatePath := .Get "templatePath" }} {{ $publishTarget := .Get "publishTarget" }} {{ $count := .Get "count" }} {{ if and $templateId $templatePath }} {{ .Page.Scratch.SetInMap "mustache-templates" $templateId $templatePath }} {{ end }}