{{ if isset . "downloadPage" }}
    {{ partial "widgets/search.html" .context }}

    {{ partial "widgets/versions.html" .context }}
{{ else }}
    {{ partial "widgets/search.html" . }}

    {{ partial "widgets/categories.html" . }}

    {{ partial "widgets/tags.html" . }}
{{ end }}