[1.5.X] Updated example to use staticfiles static template tag, thanks reinout for the suggestion, refs #19675.

Backport of f3ae67a62f from master