📝 docs: multi language support

This commit is contained in:
shenyu
2020-08-04 21:04:59 +08:00
parent 1384ea58a7
commit bb10282d89
5 changed files with 14 additions and 5 deletions
+5
View File
@@ -63,6 +63,11 @@ cd themes/ayer
git pull
```
### Muti Language Support
zh-CN(中文简体) enEnglish zh-TW(中文繁体) jaJapanese esSpanish deGerman frFrench ruRussian koKorean viVietnamese nlDutch noNorwegian ptPortuguese
English is default languge, if you want to change, modify `language` option in `_config.yml` file in your blog's root folder.
### Configuration
let me know if you have any questions.
+4 -2
View File
@@ -30,8 +30,10 @@
<!-- reward -->
<% if ((theme.reward_type === 2 || (theme.reward_type === 1 &&
post.reward)) && !index && !post.no_reward){ %>
<div id="reward-btn">
<%= __('post.reward') %>
<div id="reword-out">
<div id="reward-btn">
<%= __('post.reward') %>
</div>
</div>
<% } %>
</div>
-2
View File
@@ -63,8 +63,6 @@ $base-style
white-space nowrap
td:nth-child(1)
white-space nowrap
td:nth-child(2)
text-align left !important
blockquote
display block
+4
View File
@@ -1,3 +1,7 @@
#reward-out
position: relative
width: 100%
#reward-btn
position relative
display inline-block
+1 -1
View File
File diff suppressed because one or more lines are too long