Using external template with custom block