{{ asset }}
    {{ if is_image }}
        {{ partial:components/atoms/assets/image :image="id" width="{sizing:width}" height="{sizing:height ?? (sizing:aspect_ratio == 'aspect-square' ? sizing:width : (sizing:aspect_ratio == 'aspect-video' ? (sizing:width * 0.5625) : sizing:height))}" }}
    {{ elseif is_video }}
        {{ partial:components/atoms/assets/video :video="id" }}
    {{ else }}
        {{ partial:components/molecules/buttons/solid-primary tag="a" href="{url}" title="Download" }}
    {{ /if }}
{{ /asset }}
