{{ define "main" }}
{{ if (and .IsPage (eq .FirstSection.Section "posts"))}} {{ with .CurrentSection }} {{ end }} {{ end }}
Sommaire
{{ .TableOfContents | replaceRE "
{{ .Content }}
{{ end }}