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
Hi, I was trying your awesome plugin with @stencil/router, however I noticed, that If a certain route does not have a Helmet tag, previously declared tags just stay "online". This causes a few problems:
Current behavior
I have a page-not-found component, which will trigger if no other route matches the requested path. If I add a <meta name="robots" content="noindex, nofollow" /> to the 404 component and than go back to the homepage, the robots dont change. The only solution I found is to add <meta name="robots" content="index, follow"> to every route in my app, but this becomes very repetitive.
Desired behavior
Dont re-use previously declared tags, but simply remove them, which basically means we fall back to the original tags declared in index.html
The text was updated successfully, but these errors were encountered:
Hi, I was trying your awesome plugin with
@stencil/router
, however I noticed, that If a certain route does not have aHelmet
tag, previously declared tags just stay "online". This causes a few problems:Current behavior
I have a
page-not-found
component, which will trigger if no other route matches the requested path. If I add a<meta name="robots" content="noindex, nofollow" />
to the 404 component and than go back to the homepage, the robots dont change. The only solution I found is to add<meta name="robots" content="index, follow">
to every route in my app, but this becomes very repetitive.Desired behavior
Dont re-use previously declared tags, but simply remove them, which basically means we fall back to the original tags declared in
index.html
The text was updated successfully, but these errors were encountered: