{assign var=smallFooter value=''} {if !$Template->getAttribute('showFooter')} {assign var=smallFooter value='template-footer__small'} {/if} {* to top icon *} {fetch template="template/footer/toTop.html"} {* scripts *} {fetch template="template/footer/scripts.html" Template=$Template}