How to use Compare Block helpers in SPfx framework ?
In SharePoint Online, you can user Compare block helpers to render data based on the condition. Here are the examples {{#compare pageContext.web.language ‘==’ 1033}} <h1>This is rendered if current language is 1033</h1> {{else}} <h1>This is rendered if current language is anything else {{/compare}} In this sample, based on the language , the SharePoint content will […]