Skip to content

Commit

Permalink
using zh according to iso639, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CNBorn committed Sep 10, 2014
1 parent 847af69 commit d05e7d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Edit your *pelicanconf.py*:
LANGUAGE_URL = 'lang/{lang}/'
LANGUAGE_SAVE_AS = 'lang/{lang}/index.html'

Later you can visit url like '/lang/en/', '/lang/cn/' to browse your articles just like categories.
Later you can visit url like '/lang/en/', '/lang/zh/' to browse your articles just like categories.

## Template

Expand All @@ -31,8 +31,8 @@ the 'language_name' varible will be automatically replaced by language name.

Available varibles:

* {{ language }} language such as 'en', 'zh' as you write in your content files
* {{ language_name}} language name such as 'English', 'Chinese'
* {{ language }} language such as 'en', 'zh' as you write in your content files
* {{ language_name}} language name such as 'English', 'Chinese'

## Dependencies

Expand Down

0 comments on commit d05e7d6

Please sign in to comment.