hexojs / hexo-server

Server module for Hexo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Servedsite in language other than what was set when not using -s flag

FrankV01 opened this issue · comments

I'm doing initial configuration on my blog (in theory, you could clone and try this yourself) and after going through steps listed here https://gist.github.com/btfak/18938572f5df000ebe06fbd1872e4e39 I ran the command : hexo server

And I noticed the site render in (first) Russian and then when I switched tabs French. Very weird. I eventually tried hexo server -s and the pages rendered as expected.

My conclusion is for whatever reason when it was serving without the -s flag it rendered in a (basically) a random language. I did try to set the _config.yml language setting to en but that didn't change the result.

I restarted the server several times.

Please run hexo clean then hexo g to clean up the old info.

commented

Closing as answered.