Daily Page Template

Perhaps someone can help with this gnarly issue; In my Daily Note I automatically generate some links to that day in previous year - so I can see what I was doing on that day in previous years. In my Daily Note template this currently requires a VERY long section of ‘code’ to generated embedded links (I have patchy records going back to 1976). Does anyone know a more elegant way of achieving this than what I have now:
<span style="column-width:250px; font-size:15px;">![[{{tp_date:f=YYYY-MM-D,offset=-4745}}]]</span>