// dynamic front template