Markdown pages are not rendered server side
Stand alone components actually render the title with SSR just fine, for example http://4456656-review-462-pajama-7csq9h.service-staging.gitlab.org/components/status will show you Component status | Pajamas Design System
. But any page that uses the markdown will not.
The reason for this is that pages in pages/_slug/_slug.vue are wrapped in <no-ssr>
tag which only renders them on the client side and not with SSR. Docs here.
I am not sure what the intention of that is but in general that's not good for SEO or SSR anyway because none of the content is actually rendered, so of course the title does not show as well.
The following discussion from !1657 (merged) should be addressed:
-
@psimyn started a discussion: (+4 comments) having this as the default means:
- Server rendering/search results show all pages as 'Home | Pajamas Design System'
- When moving between pages the title briefly flashes to Home, then to the new page
Clicking 'Alert' briefly changes title text to 'Home'
1 is not ideal, 2 doesn't matter much