{{- if .enable -}}
{{- else -}}
{{- end -}} {{- if .enable -}} {{- else -}}
{{- end -}} {{ i18n .type }} {{- if .enable -}}
{{- else -}}
{{- end -}}
{{ if eq .type "changelogs" }}
{{ range $log := .context.Params.changelogs }}
{{ $log.tag | markdownify }}
{{ range $log.description }}
{{ . | markdownify }}
{{ end }}
{{ end }}
{{ else if eq .type "toc" }} {{ .context.TableOfContents }} {{ end }}
{{- if .enable -}}
{{- else -}} {{- end -}}