{{ if not ( in .Params.doctype "devportal" ) }} {{ .Render "docs" }} {{ else }} {{ partial "api" . }} {{ end }}