{if isset($path) AND $path} {assign var=path value=$path|regex_replace:"~([^>]+)$~":'
  • $1
  • '} {/if}