{{ if in .Params.tags "basic" }}
{{ with .NextInSection }}
Next: {{ .Title }}
{{ end }}
{{ with .PrevInSection }}
Or Previous: {{ .Title }}
{{ end }}
{{ end }}
{{ if in .Params.tags "mail" }}
{{ with .NextInSection }}
Next: {{ .Title }}
{{ end }}
{{ with .PrevInSection }}
Or Previous: {{ .Title }}
{{ end }}
{{ end }}