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
Not sure if this should be easily possible or not in this SSR version but should it be possible to set document titles or meta tags that appear on page load (ie would be picked up in view-source or for SEO purposes)
Am pretty sure stuff like
def setup
document.title = "My Page"
is just for the client side.
I suppose just have to make some sort of switch statement in the server file and set the document title there? Eg:
let title = "Imba SSR"
switch req.url
when "/"
title = "Home | Imba SSR"
when "/about"
title = "About | Imba SSR"
The text was updated successfully, but these errors were encountered:
Not sure if this should be easily possible or not in this SSR version but should it be possible to set document titles or meta tags that appear on page load (ie would be picked up in view-source or for SEO purposes)
Am pretty sure stuff like
is just for the client side.
I suppose just have to make some sort of switch statement in the server file and set the document title there? Eg:
The text was updated successfully, but these errors were encountered: