Closed feministclickback closed 4 years ago
Hi! First of all, thank you very much for your time and effort. I also want to apologize for taking so long to review yout PR.
I've tried the changes you've added and it all looks pretty good! The changes do not appear to introduce incompatibility with older configs. Again, thank you very much for your time and efforts.
Hey, no worries at all, and thank you for reviewing! And the positive feedback. I'm happy to support this theme.
This PR adds a new feature to Terrassa to have a multilingual site.
Languages can be set in config.toml. Translations can be put in separate subdirectories in
content
. The contact form is translated via parameters in config.toml, and a language switcher can be added to the header, so users can pick their version.It includes hreflang tags for SEO purposes and og:locale meta data for social media platforms as well.
See https://gohugo.io/content-management/multilingual/ for details on settings used.
Let me know what you think! I developed this feature for a site I'm building with Terrassa, and I thought that more people might benefit from it, since so many sites are multilingual. And there is a lot you can do wrong with multilingual content when it comes to SEO etc.