{#if templates[templateIndex] && $weekday}
{$weekday}
{/if}