You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I want to let the /zh-cn/ become a child folder, not main folder, the main folder is en-us. Hmm, has this caused by "fallbackLanguages", its value is: ["en","zh-cn"] .
you should add it to /index.html and handle the style according to the language.
It doesn't give attention to the /zh-cn/index.html, sure?
How to do this? Add the "fallbackLanguages": ["en","zh-cn"]? Or, what code should I add?
Or use below?
I don't want the English text indents, I only want the Chinese text indents
I don't want the English text indents, I only want the Chinese text indents
I don't want the English text indents, I only want the Chinese text indents
<styletype="text/css>/* But this is not very good, because when I use below: *//*<p class="zh-cn">**内容**</p>*//* It won't render the markdown text. */
p .zh-cn{
text-indent:2em;
}
</style>
Activity
sy-records commentedon Mar 31, 2022
I can't reproduce the problem you mentioned.
ersrohu commentedon Mar 31, 2022
Oh... But here...
So I have to use the 2 full-width spaces ( ,  ) to make indent.
I think that it has produced by GitHub Pages, or because I'm in Chinese Mainland, then...
Wait, I've put the
index.htmlin thezh-cnfolder, has it caused by this?You can look at these file and check the problems below:
index.htmlsy-records commentedon Mar 31, 2022
You only added it in zh-cn/index.html, which is normal when using zh-cn as an entry.
ersrohu commentedon Mar 31, 2022
@sy-records Thank you very much!
ersrohu commentedon Apr 1, 2022
But I want to let the /zh-cn/ become a child folder, not main folder, the main folder is en-us. Hmm, has this caused by "fallbackLanguages", its value is:
["en","zh-cn"].sy-records commentedon Apr 1, 2022
you should add it to /index.html and handle the style according to the language.
ersrohu commentedon Apr 1, 2022
It doesn't give attention to the
/zh-cn/index.html, sure?How to do this? Add the
"fallbackLanguages": ["en","zh-cn"]? Or, what code should I add?Or use below?
I don't want the English text indents, I only want the Chinese text indents
I don't want the English text indents, I only want the Chinese text indents
I don't want the English text indents, I only want the Chinese text indents
So, what can I do?