Reading this Howto: Delimiter separated tags
I wonder if I can apply it to this:
{{ $sections := .Site.Sections }}
{{ range where $sections "Params.exclude" "ne" "true" }}
{{ if eq .Title "Websites" }}
{{ .Render "this" }}
{{ else }}
{{ .Render "that" }}
{{ end }}
{{ end }}
As you can see I take another content view if the title of the section is “Websites”. This works for now, but of course not automatically if I add another section.
I am sorry but I have no idea how to apply the howto on my example.