diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 52e7e67a3..23cb616fd 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,6 +7,18 @@ {{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }} + + {{/* + Multilingual site support + * https://gohugo.io/methods/page/alltranslations/ + * https://developers.google.com/search/docs/specialty/international/localized-versions + */}} + {{ with .AllTranslations }} + {{ range . }} + + {{ end }} + {{ end }} + {{ hugo.Generator }} {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} {{ $production := eq (getenv "HUGO_ENV") "production" | or (eq site.Params.env "production") }}