add search footer to templates