{{ define "main" }} {{ $colors := slice "cyan" "yellow" "pink"}} {{ $opts := len $colors }} {{ range $i, $page := .Pages.ByDate.Reverse }} {{ $opt := mod $i $opts }}
{{ .Title }}
{{ if .Page.Params.Article }}

{{ .Description }}

{{ else }}

{{ .Content }}

{{ end }}
{{ end }} {{ end }}