{{- $content := .Inner | .Page.RenderString -}}
{{- $id := dict "Page" .Page | partial "function/id.html" -}}
{{- $tag := .Get 1 | default "div" -}}
{{- printf `<%v id="%v">%v</%v>` $tag $id $content $tag | safeHTML -}}

{{- $style := .Get 0 | printf "#%v{%v}" $id -}}
{{- $styleArr := .Page.Store.Get "styleArr" | default slice -}}
{{- if not (in $styleArr $style) -}}
  {{- $styleArr | append $style | .Page.Store.Set "styleArr" -}}
{{- end -}}
