📝 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

View File

@ -63,6 +63,11 @@ cd themes/ayer
git pull 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 ### Configuration
let me know if you have any questions. let me know if you have any questions.

View File

@ -30,8 +30,10 @@
<!-- reward --> <!-- reward -->
<% if ((theme.reward_type === 2 || (theme.reward_type === 1 && <% if ((theme.reward_type === 2 || (theme.reward_type === 1 &&
post.reward)) && !index && !post.no_reward){ %> post.reward)) && !index && !post.no_reward){ %>
<div id="reward-btn"> <div id="reword-out">
<%= __('post.reward') %> <div id="reward-btn">
<%= __('post.reward') %>
</div>
</div> </div>
<% } %> <% } %>
</div> </div>

View File

@ -63,8 +63,6 @@ $base-style
white-space nowrap white-space nowrap
td:nth-child(1) td:nth-child(1)
white-space nowrap white-space nowrap
td:nth-child(2)
text-align left !important
blockquote blockquote
display block display block

View File

@ -1,3 +1,7 @@
#reward-out
position: relative
width: 100%
#reward-btn #reward-btn
position relative position relative
display inline-block display inline-block

File diff suppressed because one or more lines are too long