Hi,
how can i add
<meta name="robots" content="noindex">
to all pages in my Application?
Hi,
how can i add
<meta name="robots" content="noindex">
to all pages in my Application?
I would add PageConfigurator in your MainLayout
...
public class MainLayout extends VerticalLayout implements RouterLayout, PageConfigurator {
...
@Override
public void configurePage(InitialPageSettings settings) {
settings.addMetaTag("robots", "noindex");
}
}
Thank you very much i will try it soon Have a nice day!