Closed #148, add multiple lananguages support.

This commit is contained in:
elkan1788
2025-01-24 21:47:06 +08:00
parent 0b8bdc0e00
commit 60b14e65e9
11 changed files with 206 additions and 26 deletions

View File

@@ -105,11 +105,6 @@
{{ $nextjs = $nextjs | append $lawt }}
{{ end }}
{{ end }}
{{ if .Site.Params.footer.translate }}
{{ $translate := resources.Get "js/3rd/others/translate.js" }}
{{ $nextjs = $nextjs | append $translate }}
{{ end }}
{{ $nextjs = $nextjs | resources.Concat "js/main.js"}}
{{ if hugo.IsProduction }}