<#function useFile filePath fileName fullPath=''>
    <#if fullPath?has_content>
       <#assign prefix=site.sitePath/>
    <#else>
       <#assign prefix=r'${site.sitePath}'/>
    </#if>
    <#assign fileType=t.fileType(fileName)/>
    <#switch fileType>
        <#case 'image'>
            <#return '<img src="'+prefix+filePath+'" alt="'+fileName+'">'/><#break>
        <#case 'video'>
            <#return '<video controls="controls"><source src="'+prefix+filePath+'" type="video/${fileSuffix}"></v