{{- $cdn := .Scratch.Get "cdn" | default dict -}} {{- $fingerprint := .Scratch.Get "fingerprint" -}} {{- $comment := .Scratch.Get "comment" | default dict -}} {{- $commentConfig := dict "enable" false -}} {{- if $comment.enable -}} {{- $commentConfig = dict "enable" true "expired" (.Scratch.Get "commentExpired" | default false) -}}