Setting 'dir' and 'lang' attributes for SSG
Unanswered
jwueller posted this in #help-forum
jwuellerOP
I'm building a static site that is intended for a specific audience, and should therefore have static 'lang' and 'dir' attributes.
Next.js disallows using the
Is there any way for me to get those attributes into the statically generated HTML? It seems like a Catch-22 situation right now. If this is a bug I'll happily raise it in the issue tracker.
Next.js disallows using the
i18n config option for SSG, so I tried adding it directly to the html tag, but it seems to get stripped out, even in SSG mode.Is there any way for me to get those attributes into the statically generated HTML? It seems like a Catch-22 situation right now. If this is a bug I'll happily raise it in the issue tracker.