{block content} {* template for page title is in parts/page-title.php *} {loop as $post} {var $mime = explode('/', $post->attachment->mimeType)}
{if $post->attachment->isImage} {!$post->attachment->image(array(960, 960))} {elseif $post->attachment->isVideo} {*!do_shortcode('[video src="'.wp_get_attachment_url($post->attachment->id).'"]')*} {!=wp_video_shortcode(array('src' => $post->attachment->url))} {elseif $post->attachment->isAudio} {*!do_shortcode('[audio src="'.wp_get_attachment_url($post->attachment->id).'"]')*} {!=wp_audio_shortcode(array('src' => $post->attachment->url))} {else} OTHER {/if}
{if $post->hasContent}

Description: {!$post->content|striptags}

{/if} {if $post->attachment->isImage or $post->attachment->isVideo}

Dimensions: {$post->attachment->width} x {$post->attachment->height}

{/if}

File Type: {!$mime[1]}

File Size: {size_format(filesize(get_attached_file($post->attachment->id)))}

{!$post->linkPages}
{includePart parts/pagination location => nav-below} {/loop}