{{- if (.Param "ShowToc") }}
{{- partial "toc.html" . }}
{{- end }}
{{- if .Description }}
{{ .Description }}
{{- end }}
{{- if (.Param "curriculum") }}
{{- if not (.Param "english") }}
{{- else }}
{{- end }}
{{- end }}
{{- if .Content }}
{{- if not (.Param "disableAnchoredHeadings") }}
{{- partial "anchored_headings.html" .Content -}}
{{- else }}{{ .Content }}{{ end }}
{{- end }}
{{- if (.Param "comments") }}
{{- partial "comments.html" . }}
{{- end }}
{{- end }}
{{- if not (.Param "isapage") }}
{{- $isHidden := .Params.cover.hidden | default .Site.Params.cover.hiddenInSingle | default .Site.Params.cover.hidden }}
{{- partial "cover.html" (dict "cxt" . "IsHome" false "isHidden" $isHidden) }}
{{- if (.Param "ShowToc") }}
{{- partial "toc.html" . }}
{{- end }}
{{- if .Content }}
{{- if not (.Param "disableAnchoredHeadings") }}
{{- partial "anchored_headings.html" .Content -}}
{{- else }}{{ .Content }}{{ end }}
{{- end }}
{{- if (.Param "comments") }}
{{- partial "comments.html" . }}
{{- end }}
{{- end }}
{{- end }}{{/* end main */}}