This should be avoid with this method :
{{- if not ($.Page.Scratch.Get "noticecount") -}}
<style type="text/css">.notice{padding:18px;}</style>
{{- end -}}
{{- $.Page.Scratch.Add "noticecount" 1 -}}
This should be avoid with this method :
{{- if not ($.Page.Scratch.Get "noticecount") -}}
<style type="text/css">.notice{padding:18px;}</style>
{{- end -}}
{{- $.Page.Scratch.Add "noticecount" 1 -}}