You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to add a page template or to fall back to a default one.
Currently there is only some default set which renders the header informations and a default set of components into the html body.
The template should itself be webcomponent.
The current render function in the site loader:
render(){// should stay here to remove old headersthis.renderHeader();this.renderHtmlLangTag();if(this.data&&this.data.data){constoutput=[];if(this.data.menu&&this.data.menu.main){output.push(<il-menu-maindata={this.data.menu.main}></il-menu-main>);}this.data.data.map(item=>{output.push(this.renderItems(item));});if(this.data.menu&&this.data.menu.footer){output.push(<il-menu-footerdata={this.data.menu.footer}></il-menu-footer>);}return(<Host>{output.map(out=>{returnout;})}</Host>);}}
The text was updated successfully, but these errors were encountered:
It should be possible to add a page template or to fall back to a default one.
Currently there is only some default set which renders the header informations and a default set of components into the html body.
The template should itself be webcomponent.
The current render function in the site loader:
The text was updated successfully, but these errors were encountered: