add web component template to dynamic page