{{ define "main" }}
{{ if (and .IsPage (eq .FirstSection.Section "posts"))}} {{ with .CurrentSection }} {{ end }} {{ end }}
{{ with .Params.introduction }} {{ . }}

{{ end }} {{ if (or (not .Params.notoc) (gt .WordCount 400)) }}
Sommaire
{{ .TableOfContents | replaceRE "
{{ end }} {{ .Content }}
{{ end }}