weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sospar...@apache.org
Subject [39/39] incubator-weex-site git commit: * update site
Date Thu, 02 Mar 2017 03:54:31 GMT
* update site


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/22906b6f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/22906b6f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/22906b6f

Branch: refs/heads/asf-site
Commit: 22906b6faa2cf76fc7adb923f031ea82f2c4675f
Parents: c67ae26
Author: sospartan <sospartan@apache.org>
Authored: Thu Mar 2 11:53:08 2017 +0800
Committer: sospartan <sospartan@apache.org>
Committed: Thu Mar 2 11:53:08 2017 +0800

----------------------------------------------------------------------
 content/archives/2016/12/index.html             |  69 ++---
 content/archives/2016/index.html                |  69 ++---
 content/archives/2017/02/index.html             | 252 -------------------
 content/archives/2017/03/index.html             | 225 +++++++++++++++++
 content/archives/2017/index.html                |  69 ++---
 content/archives/index.html                     |  69 ++---
 content/blog/index.html                         |  71 ++----
 content/cn/blog/index.html                      |  69 ++---
 content/cn/download.html                        |  69 ++---
 content/cn/faq.html                             |  71 ++----
 content/cn/guide/dev-with-weexpack.html         |  73 ++----
 content/cn/guide/index.html                     |  83 +++---
 content/cn/guide/integrate-to-your-app.html     |  73 ++----
 content/cn/guide/intro/app-architecture.html    |  73 ++----
 content/cn/guide/intro/devtools.html            |  73 ++----
 content/cn/guide/intro/how-it-works.html        |  73 ++----
 content/cn/guide/intro/index.html               |  73 ++----
 content/cn/guide/intro/page-architecture.html   |  73 ++----
 content/cn/guide/intro/using-vue.html           |  73 ++----
 content/cn/guide/intro/web-dev-experience.html  |  73 ++----
 content/cn/guide/intro/write-once.html          |  73 ++----
 content/cn/hello/index.html                     |  69 ++---
 content/cn/index.html                           | 100 ++++----
 content/cn/playground.html                      |  69 ++---
 content/cn/references/advanced/extend-jsfm.html |  97 +++----
 .../references/advanced/extend-to-android.html  |  97 +++----
 .../cn/references/advanced/extend-to-html5.html |  97 +++----
 .../cn/references/advanced/extend-to-ios.html   |  97 +++----
 content/cn/references/advanced/index.html       |  97 +++----
 .../advanced/integrate-devtool-to-android.html  |  97 +++----
 .../advanced/integrate-devtool-to-ios.html      |  97 +++----
 content/cn/references/android-apis.html         |  97 +++----
 content/cn/references/color-names.html          |  97 +++----
 content/cn/references/common-event.html         |  97 +++----
 content/cn/references/common-style.html         |  97 +++----
 content/cn/references/components/a.html         | 110 +++-----
 content/cn/references/components/cell.html      |  99 +++-----
 content/cn/references/components/div.html       |  99 +++-----
 content/cn/references/components/image.html     |  99 +++-----
 content/cn/references/components/index.html     |  97 +++----
 content/cn/references/components/indicator.html |  99 +++-----
 content/cn/references/components/input.html     |  99 +++-----
 content/cn/references/components/list.html      |  99 +++-----
 content/cn/references/components/loading.html   |  98 +++-----
 content/cn/references/components/refresh.html   |  99 +++-----
 content/cn/references/components/scroller.html  |  99 +++-----
 content/cn/references/components/slider.html    |  99 +++-----
 content/cn/references/components/switch.html    |  99 +++-----
 content/cn/references/components/text.html      |  99 +++-----
 content/cn/references/components/textarea.html  |  99 +++-----
 content/cn/references/components/video.html     |  99 +++-----
 content/cn/references/components/web.html       |  99 +++-----
 content/cn/references/gesture.html              |  97 +++----
 content/cn/references/html5-apis.html           |  97 +++----
 content/cn/references/index.html                |  97 +++----
 content/cn/references/ios-apis.html             |  97 +++----
 content/cn/references/js-service/index.html     |  97 +++----
 content/cn/references/jsfm-apis.html            |  97 +++----
 content/cn/references/migration/difference.html |  97 +++----
 content/cn/references/migration/index.html      |  97 +++----
 .../migration/migration-from-weex.html          |  97 +++----
 content/cn/references/modules/animation.html    |  99 +++-----
 content/cn/references/modules/clipboard.html    |  99 +++-----
 content/cn/references/modules/dom.html          | 101 +++-----
 content/cn/references/modules/globalevent.html  |  97 +++----
 content/cn/references/modules/index.html        | 154 ++++++------
 content/cn/references/modules/modal.html        |  99 +++-----
 content/cn/references/modules/navigator.html    |  99 +++-----
 content/cn/references/modules/picker.html       |  97 +++----
 content/cn/references/modules/storage.html      |  99 +++-----
 content/cn/references/modules/stream.html       |  99 +++-----
 content/cn/references/modules/websocket.html    | 101 +++-----
 content/cn/references/modules/webview.html      |  99 +++-----
 content/cn/references/native-dom-api.html       |  97 +++----
 content/cn/references/path.html                 |  97 +++----
 content/cn/references/platform-difference.html  |  97 +++----
 content/cn/references/text-style.html           |  97 +++----
 content/cn/references/unit.html                 |  97 +++----
 .../cn/references/vue/difference-of-vuex.html   |  97 +++----
 .../cn/references/vue/difference-with-web.html  |  97 +++----
 content/cn/references/vue/index.html            |  97 +++----
 content/cn/references/web-standards.html        |  97 +++----
 content/cn/references/weex-variable.html        |  97 +++----
 .../v-0.10/advanced/create-a-weex-project.html  |  71 ++----
 .../advanced/customize-a-native-component.html  |  71 ++----
 .../v-0.10/advanced/cuszomize-native-apis.html  |  71 ++----
 .../cn/v-0.10/advanced/extend-to-android.html   |  71 ++----
 content/cn/v-0.10/advanced/extend-to-html5.html |  71 ++----
 content/cn/v-0.10/advanced/extend-to-ios.html   |  71 ++----
 .../v-0.10/advanced/how-data-binding-works.html |  71 ++----
 content/cn/v-0.10/advanced/index.html           |  71 ++----
 .../advanced/integrate-devtools-to-android.html |  71 ++----
 .../advanced/integrate-devtools-to-ios.html     |  71 ++----
 .../v-0.10/advanced/integrate-to-android.html   |  71 ++----
 .../cn/v-0.10/advanced/integrate-to-html5.html  |  71 ++----
 .../cn/v-0.10/advanced/integrate-to-ios.html    |  71 ++----
 content/cn/v-0.10/blog/index.html               |  69 ++---
 .../guide/develop-on-your-local-machine.html    |  69 ++---
 .../v-0.10/guide/how-to/debug-with-html5.html   |  69 ++---
 content/cn/v-0.10/guide/how-to/index.html       |  69 ++---
 .../guide/how-to/require-3rd-party-libs.html    |  69 ++---
 .../how-to/transform-code-into-js-bundle.html   |  69 ++---
 content/cn/v-0.10/guide/index.html              |  69 ++---
 content/cn/v-0.10/guide/syntax/comm.html        |  69 ++---
 .../v-0.10/guide/syntax/composed-component.html |  69 ++---
 .../cn/v-0.10/guide/syntax/config-n-data.html   |  69 ++---
 .../cn/v-0.10/guide/syntax/data-binding.html    |  69 ++---
 .../cn/v-0.10/guide/syntax/display-logic.html   |  69 ++---
 content/cn/v-0.10/guide/syntax/events.html      |  69 ++---
 content/cn/v-0.10/guide/syntax/id.html          |  69 ++---
 content/cn/v-0.10/guide/syntax/index.html       |  69 ++---
 .../cn/v-0.10/guide/syntax/render-logic.html    |  69 ++---
 .../cn/v-0.10/guide/syntax/style-n-class.html   |  69 ++---
 content/cn/v-0.10/index.html                    | 100 ++++----
 content/cn/v-0.10/references/api.html           |  85 +++----
 content/cn/v-0.10/references/cheatsheet.html    |  85 +++----
 content/cn/v-0.10/references/color-names.html   |  85 +++----
 content/cn/v-0.10/references/common-attrs.html  |  85 +++----
 content/cn/v-0.10/references/common-event.html  |  85 +++----
 content/cn/v-0.10/references/common-style.html  |  85 +++----
 .../cn/v-0.10/references/component-defs.html    |  85 +++----
 content/cn/v-0.10/references/components/a.html  |  85 +++----
 .../cn/v-0.10/references/components/cell.html   |  85 +++----
 .../cn/v-0.10/references/components/div.html    |  85 +++----
 .../cn/v-0.10/references/components/image.html  |  85 +++----
 .../cn/v-0.10/references/components/index.html  |  85 +++----
 .../v-0.10/references/components/indicator.html |  85 +++----
 .../cn/v-0.10/references/components/input.html  |  85 +++----
 .../cn/v-0.10/references/components/list.html   |  85 +++----
 .../v-0.10/references/components/loading.html   |  85 +++----
 .../v-0.10/references/components/refresh.html   |  85 +++----
 .../v-0.10/references/components/scroller.html  |  85 +++----
 .../cn/v-0.10/references/components/slider.html |  85 +++----
 .../cn/v-0.10/references/components/switch.html |  85 +++----
 .../cn/v-0.10/references/components/text.html   |  85 +++----
 .../v-0.10/references/components/textarea.html  |  85 +++----
 .../cn/v-0.10/references/components/video.html  |  85 +++----
 .../cn/v-0.10/references/components/web.html    |  85 +++----
 content/cn/v-0.10/references/gesture.html       |  85 +++----
 content/cn/v-0.10/references/index.html         |  85 +++----
 .../cn/v-0.10/references/modules/animation.html |  85 +++----
 .../cn/v-0.10/references/modules/clipboard.html |  85 +++----
 content/cn/v-0.10/references/modules/dom.html   |  85 +++----
 .../v-0.10/references/modules/globalevent.html  |  85 +++----
 content/cn/v-0.10/references/modules/index.html |  85 +++----
 content/cn/v-0.10/references/modules/modal.html |  85 +++----
 .../cn/v-0.10/references/modules/navigator.html |  85 +++----
 .../cn/v-0.10/references/modules/storage.html   |  85 +++----
 .../cn/v-0.10/references/modules/stream.html    |  85 +++----
 .../cn/v-0.10/references/modules/webview.html   |  85 +++----
 content/cn/v-0.10/references/replace.html       |  71 ++----
 .../cn/v-0.10/references/special-element.html   |  85 +++----
 content/cn/v-0.10/references/specs/index.html   |  85 +++----
 .../references/specs/js-framework-apis.html     |  85 +++----
 .../references/specs/virtual-dom-apis.html      |  85 +++----
 content/cn/v-0.10/references/text-style.html    |  85 +++----
 content/cn/v-0.10/references/units.html         |  85 +++----
 content/cn/v-0.10/references/wxc/index.html     |  85 +++----
 .../cn/v-0.10/references/wxc/wxc-navpage.html   |  85 +++----
 .../cn/v-0.10/references/wxc/wxc-tabbar.html    |  85 +++----
 content/cn/v-0.10/tools/devtools-android.html   |  71 ++----
 content/cn/v-0.10/tools/devtools-ios.html       |  71 ++----
 content/cn/v-0.10/tools/devtools.html           |  71 ++----
 content/cn/v-0.10/tools/index.html              |  71 ++----
 content/cn/v-0.10/tools/playground.html         |  71 ++----
 content/cn/v-0.10/tools/transformer.html        |  71 ++----
 content/content.json                            |   2 +-
 content/css/index.css                           |   4 +-
 content/css/media-queries.css                   |   2 +
 content/css/partial/footer.css                  |   1 +
 content/css/partial/header.css                  |  26 +-
 content/css/partial/search-form.css             |   5 +-
 content/css/partial/sidebar.css                 |   3 +-
 content/css/style.css                           |  41 ++-
 content/download.html                           |  69 ++---
 content/en/hello-world/index.html               |  71 ++----
 content/examples/a.html                         |  69 ++---
 content/examples/animation.html                 |  69 ++---
 content/examples/clipboard.html                 |  69 ++---
 content/examples/div.html                       |  69 ++---
 content/examples/dom-rect.html                  |  69 ++---
 content/examples/dom-scroll.html                |  69 ++---
 content/examples/image.html                     |  69 ++---
 content/examples/indicator.html                 |  69 ++---
 content/examples/input.html                     |  69 ++---
 content/examples/list.html                      |  69 ++---
 content/examples/modal.html                     |  69 ++---
 content/examples/navigator.html                 |  69 ++---
 content/examples/refresh.html                   |  69 ++---
 content/examples/scroller.html                  |  69 ++---
 content/examples/slider.html                    |  69 ++---
 content/examples/storage.html                   |  69 ++---
 content/examples/stream.html                    |  69 ++---
 content/examples/switch.html                    |  69 ++---
 content/examples/text.html                      |  69 ++---
 content/examples/textarea.html                  |  69 ++---
 content/examples/video.html                     |  69 ++---
 content/examples/web.html                       |  69 ++---
 content/faq.html                                |  71 ++----
 content/guide/dev-with-weexpack.html            |  73 ++----
 content/guide/index.html                        |  82 +++---
 content/guide/integrate-to-your-app.html        |  73 ++----
 content/guide/intro/app-architecture.html       |  73 ++----
 content/guide/intro/devtools.html               |  73 ++----
 content/guide/intro/how-it-works.html           |  73 ++----
 content/guide/intro/index.html                  |  73 ++----
 content/guide/intro/page-architecture.html      |  73 ++----
 content/guide/intro/using-vue.html              |  73 ++----
 content/guide/intro/web-dev-experience.html     |  73 ++----
 content/guide/intro/write-once.html             |  73 ++----
 content/index.html                              |  98 ++++----
 content/js/common.js                            |  37 +--
 content/js/example.js                           |   2 +-
 content/playground.html                         |  69 ++---
 content/references/advanced/extend-jsfm.html    |  89 +++----
 .../references/advanced/extend-to-android.html  |  89 +++----
 .../references/advanced/extend-to-html5.html    |  89 +++----
 content/references/advanced/extend-to-ios.html  |  89 +++----
 content/references/advanced/index.html          |  89 +++----
 .../advanced/integrate-devtool-to-android.html  |  89 +++----
 .../advanced/integrate-devtool-to-ios.html      |  89 +++----
 content/references/android-apis.html            |  89 +++----
 content/references/color-names.html             |  89 +++----
 content/references/common-event.html            |  89 +++----
 content/references/common-style.html            |  89 +++----
 content/references/components/a.html            |  91 +++----
 content/references/components/cell.html         |  89 +++----
 content/references/components/div.html          |  91 +++----
 content/references/components/image.html        |  91 +++----
 content/references/components/index.html        |  89 +++----
 content/references/components/indicator.html    |  91 +++----
 content/references/components/input.html        |  91 +++----
 content/references/components/list.html         |  91 +++----
 content/references/components/refresh.html      |  91 +++----
 content/references/components/scroller.html     |  91 +++----
 content/references/components/slider.html       |  91 +++----
 content/references/components/switch.html       |  91 +++----
 content/references/components/text.html         |  91 +++----
 content/references/components/textarea.html     |  91 +++----
 content/references/components/video.html        |  91 +++----
 content/references/components/web.html          |  91 +++----
 content/references/gesture.html                 |  89 +++----
 content/references/html5-apis.html              |  89 +++----
 content/references/index.html                   |  89 +++----
 content/references/ios-apis.html                |  89 +++----
 content/references/js-service/index.html        |  89 +++----
 content/references/jsfm-apis.html               |  89 +++----
 content/references/migration/difference.html    |  89 +++----
 content/references/migration/index.html         |  89 +++----
 .../migration/migration-from-weex.html          |  89 +++----
 content/references/modules/animation.html       |  91 +++----
 content/references/modules/clipboard.html       |  91 +++----
 content/references/modules/dom.html             |  93 +++----
 content/references/modules/globalevent.html     |  89 +++----
 content/references/modules/index.html           | 147 ++++++-----
 content/references/modules/modal.html           |  91 +++----
 content/references/modules/navigator.html       |  91 +++----
 content/references/modules/picker.html          |  89 +++----
 content/references/modules/storage.html         |  91 +++----
 content/references/modules/stream.html          |  91 +++----
 content/references/modules/websocket.html       |  93 +++----
 content/references/modules/webview.html         |  91 +++----
 content/references/native-dom-api.html          |  89 +++----
 content/references/path.html                    |  89 +++----
 content/references/platfrom-difference.html     |  89 +++----
 content/references/text-style.html              |  89 +++----
 content/references/unit.html                    |  89 +++----
 content/references/vue/difference-of-vuex.html  |  89 +++----
 content/references/vue/difference-with-web.html |  89 +++----
 content/references/vue/index.html               |  89 +++----
 content/references/web-standards.html           |  89 +++----
 content/references/weex-variable.html           |  89 +++----
 content/v-0.10/advanced/extend-to-android.html  |  71 ++----
 content/v-0.10/advanced/extend-to-html5.html    |  71 ++----
 content/v-0.10/advanced/extend-to-ios.html      |  71 ++----
 .../v-0.10/advanced/how-data-binding-works.html |  71 ++----
 content/v-0.10/advanced/index.html              |  71 ++----
 .../v-0.10/advanced/integrate-to-android.html   |  71 ++----
 content/v-0.10/advanced/integrate-to-html5.html |  71 ++----
 content/v-0.10/advanced/integrate-to-ios.html   |  71 ++----
 .../how-to/customize-a-native-component.html    |  69 ++---
 .../guide/how-to/cuszomize-native-apis.html     |  69 ++---
 .../v-0.10/guide/how-to/debug-with-html5.html   |  69 ++---
 content/v-0.10/guide/how-to/index.html          |  69 ++---
 .../guide/how-to/preview-in-playground-app.html |  69 ++---
 .../guide/how-to/require-3rd-party-libs.html    |  69 ++---
 .../how-to/transform-code-into-js-bundle.html   |  69 ++---
 content/v-0.10/guide/index.html                 |  69 ++---
 content/v-0.10/guide/syntax/comm.html           |  69 ++---
 .../v-0.10/guide/syntax/composed-component.html |  69 ++---
 content/v-0.10/guide/syntax/config-n-data.html  |  69 ++---
 content/v-0.10/guide/syntax/data-binding.html   |  69 ++---
 content/v-0.10/guide/syntax/display-logic.html  |  69 ++---
 content/v-0.10/guide/syntax/events.html         |  69 ++---
 content/v-0.10/guide/syntax/id.html             |  69 ++---
 content/v-0.10/guide/syntax/index.html          |  69 ++---
 content/v-0.10/guide/syntax/render-logic.html   |  69 ++---
 content/v-0.10/guide/syntax/style-n-class.html  |  69 ++---
 content/v-0.10/references/api.html              |  77 ++----
 content/v-0.10/references/cheatsheet.html       |  71 ++----
 content/v-0.10/references/color-names.html      |  77 ++----
 content/v-0.10/references/common-attrs.html     |  77 ++----
 content/v-0.10/references/common-event.html     |  77 ++----
 content/v-0.10/references/common-style.html     |  77 ++----
 content/v-0.10/references/component-defs.html   |  77 ++----
 content/v-0.10/references/components/a.html     |  77 ++----
 content/v-0.10/references/components/cell.html  |  77 ++----
 content/v-0.10/references/components/div.html   |  77 ++----
 content/v-0.10/references/components/image.html |  77 ++----
 content/v-0.10/references/components/index.html |  77 ++----
 .../v-0.10/references/components/indicator.html |  77 ++----
 content/v-0.10/references/components/input.html |  77 ++----
 content/v-0.10/references/components/list.html  |  77 ++----
 .../references/components/refresh-loading.html  |  77 ++----
 .../v-0.10/references/components/scroller.html  |  77 ++----
 .../v-0.10/references/components/slider.html    |  77 ++----
 .../v-0.10/references/components/switch.html    |  77 ++----
 content/v-0.10/references/components/text.html  |  77 ++----
 .../v-0.10/references/components/textarea.html  |  77 ++----
 content/v-0.10/references/components/video.html |  77 ++----
 content/v-0.10/references/components/web.html   |  77 ++----
 .../references/components/wxc-navpage.html      |  77 ++----
 .../references/components/wxc-tabbar.html       |  77 ++----
 content/v-0.10/references/gesture.html          |  77 ++----
 content/v-0.10/references/index.html            |  77 ++----
 .../v-0.10/references/modules/animation.html    |  77 ++----
 .../v-0.10/references/modules/clipboard.html    |  77 ++----
 content/v-0.10/references/modules/dom.html      |  77 ++----
 .../v-0.10/references/modules/globalevent.html  |  77 ++----
 content/v-0.10/references/modules/index.html    |  77 ++----
 content/v-0.10/references/modules/modal.html    |  77 ++----
 .../v-0.10/references/modules/navigator.html    |  77 ++----
 content/v-0.10/references/modules/storage.html  |  77 ++----
 content/v-0.10/references/modules/stream.html   |  77 ++----
 content/v-0.10/references/modules/timer.html    |  77 ++----
 content/v-0.10/references/modules/webview.html  |  77 ++----
 content/v-0.10/references/special-element.html  |  77 ++----
 content/v-0.10/references/specs/index.html      |  77 ++----
 .../references/specs/js-bundle-format.html      |  77 ++----
 .../references/specs/js-framework-apis.html     |  77 ++----
 .../references/specs/virtual-dom-apis.html      |  77 ++----
 content/v-0.10/references/text-style.html       |  77 ++----
 content/v-0.10/tools/devtools-android.html      |  71 ++----
 content/v-0.10/tools/devtools-ios.html          |  71 ++----
 content/v-0.10/tools/devtools.html              |  71 ++----
 content/v-0.10/tools/index.html                 |  71 ++----
 content/v-0.10/tools/playground.html            |  71 ++----
 content/v-0.10/tools/transformer.html           |  71 ++----
 348 files changed, 9641 insertions(+), 18524 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/archives/2016/12/index.html
----------------------------------------------------------------------
diff --git a/content/archives/2016/12/index.html b/content/archives/2016/12/index.html
index c9f6419..8b4f74b 100644
--- a/content/archives/2016/12/index.html
+++ b/content/archives/2016/12/index.html
@@ -5,49 +5,6 @@
   
   <title>Archives: 2016/12 | Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta property="og:type" content="website">
 <meta property="og:title" content="Weex">
 <meta property="og:url" content="https://weex.apache.org/archives/2016/12/index.html">
@@ -111,13 +68,29 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/archives/2016/12/index.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/archives/2016/12/index.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -136,7 +109,7 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -154,7 +127,7 @@
           </a>
         </li>
         <li>
-          <a href="/faq">
+          <a href="/faq.html">
             FAQ
           </a>
         </li>
@@ -203,7 +176,7 @@
       </h1>
     
   
-  <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+  <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
 </header>
     
   </div>
@@ -229,7 +202,7 @@
           <a href="/archives/2016/12/index.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/archives/2016/12/index.html" data-lang="cn">中文</a>
+          <a href="/cn/archives/2016/12/index.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/archives/2016/index.html
----------------------------------------------------------------------
diff --git a/content/archives/2016/index.html b/content/archives/2016/index.html
index 54e3eaf..6720566 100644
--- a/content/archives/2016/index.html
+++ b/content/archives/2016/index.html
@@ -5,49 +5,6 @@
   
   <title>Archives: 2016 | Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta property="og:type" content="website">
 <meta property="og:title" content="Weex">
 <meta property="og:url" content="https://weex.apache.org/archives/2016/index.html">
@@ -111,13 +68,29 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/archives/2016/index.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/archives/2016/index.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -136,7 +109,7 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -154,7 +127,7 @@
           </a>
         </li>
         <li>
-          <a href="/faq">
+          <a href="/faq.html">
             FAQ
           </a>
         </li>
@@ -203,7 +176,7 @@
       </h1>
     
   
-  <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+  <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
 </header>
     
   </div>
@@ -229,7 +202,7 @@
           <a href="/archives/2016/index.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/archives/2016/index.html" data-lang="cn">中文</a>
+          <a href="/cn/archives/2016/index.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/archives/2017/02/index.html
----------------------------------------------------------------------
diff --git a/content/archives/2017/02/index.html b/content/archives/2017/02/index.html
deleted file mode 100644
index 22ecd6c..0000000
--- a/content/archives/2017/02/index.html
+++ /dev/null
@@ -1,252 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-  <meta charset="utf-8">
-  
-  <title>Archives: 2017/2 | Weex</title>
-  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
-  <meta property="og:type" content="website">
-<meta property="og:title" content="Weex">
-<meta property="og:url" content="https://weex.apache.org/archives/2017/02/index.html">
-<meta property="og:site_name" content="Weex">
-<meta name="twitter:card" content="summary">
-<meta name="twitter:title" content="Weex">
-  
-    <link rel="alternate" href="/atom.xml" title="Weex" type="application/atom+xml">
-  
-  
-    <link rel="icon" href="//gw.alicdn.com/tps/TB1XNqxPXXXXXcSXVXXXXXXXXXX-64-63.png">
-  
-  
-    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
-  
-  <link rel="stylesheet" href="/css/style.css">
-  <link rel="stylesheet" href="/css/swiper.min.css">
-</head>
-
-<body id="archives/2017/02/index" class="lang-en">
-  
-  <script>
-    window.PAGE_TYPE = "archives/2017/02/index";
-    window.ROOT = "/"
-  </script>
-  <header id="header">
-  <div class="navbar">
-    <a id="logo" href="/">
-      <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
-    </a>
-    <div class="main-nav">
-      <ul class="links">
-        <li><a href="/guide">Guide</a></li>
-        <li><a href="/references">References</a></li>
-        <li><a href="/faq.html">FAQ</a></li>
-        <li class="dropdown">
-            <a href="javascript:;">Download</a>
-            <ul class="dropdown-menu subnav">
-              <li>
-                <a href="/playground.html">Playground</a>
-              </li>
-              <li>
-                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
-              </li>
-              <li>
-                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
-              </li>
-              <li>
-                <a href="http://dotwe.org" target="_blank">Snippets</a>
-              </li>
-              <li>
-                <a href="https://market.weex-project.io/" target="_blank">Market</a>
-              </li>
-            </ul>
-        </li>
-      </ul>
-      <ul class="info">
-        <li><a href="https://github.com/alibaba/weex/" target="_blank"><span class="btn-github iconfont icon-github"></span></a></li>
-      </ul>
-      <ul class="tools">
-        <li>
-          <div class="search">
-  <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
-    <span class="iconfont icon-search"></span>
-  </form>
-  <div class="results-panel">
-  </div>
-</div>
-        </li>
-        <!--<li></li>-->
-      </ul>
-    </div>
-  </div>
-  <div id="mobile-nav">
-    <a id="logo" href="/">
-      <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
-    </a>
-    <a class="btn-menu"><span class="iconfont icon-nav"></span></a>
-  </div>
-</header>
-  <div id="sidebar" class="">
-  <div class="sidebar-menu">
-    
-      <ul class="main-nav">
-        <li>
-          <div class="search">
-  <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
-    <span class="iconfont icon-search"></span>
-  </form>
-  <div class="results-panel">
-  </div>
-</div>
-        </li>
-        <li>
-          <a class="" href="/guide">
-            Guide
-          </a>
-        </li>
-        <li>
-          <a class="" href="/references">
-            References
-          </a>
-        </li>
-        <li>
-          <a href="/faq">
-            FAQ
-          </a>
-        </li>
-        <li>
-            <p>Download</p>
-            <ul class="subnav">
-              <li>
-                <a href="/playground.html">Playground</a>
-              </li>
-              <li>
-                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
-              </li>
-              <li>
-                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
-              </li>
-              <li>
-                <a href="http://dotwe.org" target="_blank">Snippets</a>
-              </li>
-              </li>
-              <li>
-                <a href="https://market.weex-project.io/" target="_blank">Market</a>
-              </li>
-            </ul>
-        </li>
-        <li>
-          <a href="https://github.com/alibaba/weex" target="_blank">
-            GitHub
-          </a>
-        </li>
-      </ul>
-    
-    <a class="btn-close-sidebar iconfont  icon-close"></a>
-  </div>
-</div>
-  <div class="blog-wrapper">
-  <div class="archives">
-  
-    
-      <article class="blog-article blog-type-post">
-  <div class="blog-article-inner">
-    <header class="article-header">
-  
-    
-      <h1 itemprop="name">
-        <a class="article-title" href="/en/hello-world/">Hello World</a>
-      </h1>
-    
-  
-  <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
-</header>
-    
-  </div>
-</article>
-    
-  
-  
-</div>
-</div>
-  
-  <footer id="footer">
-  <div class="row clearfix">
-    <div class="ali-logo">
-      <img src="//gw.alicdn.com/tps/TB1Ef93PXXXXXaXXpXXXXXXXXXX-252-126.png" alt="Alibaba">
-    </div>
-    <div class="dropdown select-lang">
-      <a href="javascript:;" class="dropdown-toggle">
-        Language
-        <span class="caret"></span>
-      </a>
-      <ul class="dropdown-menu pick-lang">
-        <li>
-          <a href="/archives/2017/02/index.html" data-lang="en">English</a>
-        </li>
-        <li>
-          <a href="/cn/archives/2017/02/index.html" data-lang="cn">中文</a>
-        </li>
-      </ul>
-    </div>
-  </div>
-  <div class="row">
-    <p><span>Released under </span><a href="">Apache License 2.0</a></p>
-  </div>
-  <div class="row clearfix">
-    <div class="cell"><span>Copyright(c) 2016 </span><a href="https://www.alibaba.com">Alibaba</a></div>
-    <div class="cell"><span>Designed by </span><a href="">阿里云UED AX</a></div>
-  </div>
-</footer>
-  <div style="display: none;">
-  <script src="//s95.cnzz.com/z_stat.php?id=1261102667&amp;web_id=1261102667" language="JavaScript"></script>
-</div>
-
-  <script src="/js/reqwest.js"></script>
-  <script src="/js/common.js"></script>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/archives/2017/03/index.html
----------------------------------------------------------------------
diff --git a/content/archives/2017/03/index.html b/content/archives/2017/03/index.html
new file mode 100644
index 0000000..c1d158d
--- /dev/null
+++ b/content/archives/2017/03/index.html
@@ -0,0 +1,225 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8">
+  
+  <title>Archives: 2017/3 | Weex</title>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+  <meta property="og:type" content="website">
+<meta property="og:title" content="Weex">
+<meta property="og:url" content="https://weex.apache.org/archives/2017/03/index.html">
+<meta property="og:site_name" content="Weex">
+<meta name="twitter:card" content="summary">
+<meta name="twitter:title" content="Weex">
+  
+    <link rel="alternate" href="/atom.xml" title="Weex" type="application/atom+xml">
+  
+  
+    <link rel="icon" href="//gw.alicdn.com/tps/TB1XNqxPXXXXXcSXVXXXXXXXXXX-64-63.png">
+  
+  
+    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
+  
+  <link rel="stylesheet" href="/css/style.css">
+  <link rel="stylesheet" href="/css/swiper.min.css">
+</head>
+
+<body id="archives/2017/03/index" class="lang-en">
+  
+  <script>
+    window.PAGE_TYPE = "archives/2017/03/index";
+    window.ROOT = "/"
+  </script>
+  <header id="header">
+  <div class="navbar">
+    <a id="logo" href="/">
+      <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
+    </a>
+    <div class="main-nav">
+      <ul class="links">
+        <li><a href="/guide">Guide</a></li>
+        <li><a href="/references">References</a></li>
+        <li><a href="/faq.html">FAQ</a></li>
+        <li class="dropdown">
+            <a href="javascript:;">Download</a>
+            <ul class="dropdown-menu subnav">
+              <li>
+                <a href="/playground.html">Playground</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
+              </li>
+              <li>
+                <a href="http://dotwe.org" target="_blank">Snippets</a>
+              </li>
+              <li>
+                <a href="https://market.weex-project.io/" target="_blank">Market</a>
+              </li>
+            </ul>
+        </li>
+      </ul>
+      <ul class="info">
+        <li><a href="https://github.com/alibaba/weex/" target="_blank"><span class="btn-github iconfont icon-github"></span></a></li>
+      </ul>
+      <ul class="tools">
+        <li>
+          <div class="search">
+  <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</div>
+        </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/archives/2017/03/index.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/archives/2017/03/index.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
+        <!--<li></li>-->
+      </ul>
+    </div>
+  </div>
+  <div id="mobile-nav">
+    <a id="logo" href="/">
+      <img src="//img.alicdn.com/tps/TB1zBLaPXXXXXXeXXXXXXXXXXXX-121-59.svg" />
+    </a>
+    <a class="btn-menu"><span class="iconfont icon-nav"></span></a>
+  </div>
+</header>
+  <div id="sidebar" class="">
+  <div class="sidebar-menu">
+    
+      <ul class="main-nav">
+        <li>
+          <div class="search">
+  <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <span class="iconfont icon-search"></span>
+  </form>
+  <div class="results-panel">
+  </div>
+</div>
+        </li>
+        <li>
+          <a class="" href="/guide">
+            Guide
+          </a>
+        </li>
+        <li>
+          <a class="" href="/references">
+            References
+          </a>
+        </li>
+        <li>
+          <a href="/faq.html">
+            FAQ
+          </a>
+        </li>
+        <li>
+            <p>Download</p>
+            <ul class="subnav">
+              <li>
+                <a href="/playground.html">Playground</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weex-devtool" target="_blank">Devtool</a>
+              </li>
+              <li>
+                <a href="https://www.npmjs.com/package/weexpack" target="_blank">Weexpack</a>
+              </li>
+              <li>
+                <a href="http://dotwe.org" target="_blank">Snippets</a>
+              </li>
+              </li>
+              <li>
+                <a href="https://market.weex-project.io/" target="_blank">Market</a>
+              </li>
+            </ul>
+        </li>
+        <li>
+          <a href="https://github.com/alibaba/weex" target="_blank">
+            GitHub
+          </a>
+        </li>
+      </ul>
+    
+    <a class="btn-close-sidebar iconfont  icon-close"></a>
+  </div>
+</div>
+  <div class="blog-wrapper">
+  <div class="archives">
+  
+    
+      <article class="blog-article blog-type-post">
+  <div class="blog-article-inner">
+    <header class="article-header">
+  
+    
+      <h1 itemprop="name">
+        <a class="article-title" href="/en/hello-world/">Hello World</a>
+      </h1>
+    
+  
+  <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
+</header>
+    
+  </div>
+</article>
+    
+  
+  
+</div>
+</div>
+  
+  <footer id="footer">
+  <div class="row clearfix">
+    <div class="ali-logo">
+      <img src="//gw.alicdn.com/tps/TB1Ef93PXXXXXaXXpXXXXXXXXXX-252-126.png" alt="Alibaba">
+    </div>
+    <div class="dropdown select-lang">
+      <a href="javascript:;" class="dropdown-toggle">
+        Language
+        <span class="caret"></span>
+      </a>
+      <ul class="dropdown-menu pick-lang">
+        <li>
+          <a href="/archives/2017/03/index.html" data-lang="en">English</a>
+        </li>
+        <li>
+          <a href="/cn/archives/2017/03/index.html" data-lang="zh-cn">中文</a>
+        </li>
+      </ul>
+    </div>
+  </div>
+  <div class="row">
+    <p><span>Released under </span><a href="">Apache License 2.0</a></p>
+  </div>
+  <div class="row clearfix">
+    <div class="cell"><span>Copyright(c) 2016 </span><a href="https://www.alibaba.com">Alibaba</a></div>
+    <div class="cell"><span>Designed by </span><a href="">阿里云UED AX</a></div>
+  </div>
+</footer>
+  <div style="display: none;">
+  <script src="//s95.cnzz.com/z_stat.php?id=1261102667&amp;web_id=1261102667" language="JavaScript"></script>
+</div>
+
+  <script src="/js/reqwest.js"></script>
+  <script src="/js/common.js"></script>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/archives/2017/index.html
----------------------------------------------------------------------
diff --git a/content/archives/2017/index.html b/content/archives/2017/index.html
index 41b0532..9c37132 100644
--- a/content/archives/2017/index.html
+++ b/content/archives/2017/index.html
@@ -5,49 +5,6 @@
   
   <title>Archives: 2017 | Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta property="og:type" content="website">
 <meta property="og:title" content="Weex">
 <meta property="og:url" content="https://weex.apache.org/archives/2017/index.html">
@@ -111,13 +68,29 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/archives/2017/index.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/archives/2017/index.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -136,7 +109,7 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -154,7 +127,7 @@
           </a>
         </li>
         <li>
-          <a href="/faq">
+          <a href="/faq.html">
             FAQ
           </a>
         </li>
@@ -203,7 +176,7 @@
       </h1>
     
   
-  <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+  <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
 </header>
     
   </div>
@@ -229,7 +202,7 @@
           <a href="/archives/2017/index.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/archives/2017/index.html" data-lang="cn">中文</a>
+          <a href="/cn/archives/2017/index.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/archives/index.html
----------------------------------------------------------------------
diff --git a/content/archives/index.html b/content/archives/index.html
index 154737e..07ae646 100644
--- a/content/archives/index.html
+++ b/content/archives/index.html
@@ -5,49 +5,6 @@
   
   <title>Archives | Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta property="og:type" content="website">
 <meta property="og:title" content="Weex">
 <meta property="og:url" content="https://weex.apache.org/archives/index.html">
@@ -111,13 +68,29 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/archives/index.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/archives/index.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -136,7 +109,7 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -154,7 +127,7 @@
           </a>
         </li>
         <li>
-          <a href="/faq">
+          <a href="/faq.html">
             FAQ
           </a>
         </li>
@@ -203,7 +176,7 @@
       </h1>
     
   
-  <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+  <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
 </header>
     
   </div>
@@ -229,7 +202,7 @@
           <a href="/archives/index.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/archives/index.html" data-lang="cn">中文</a>
+          <a href="/cn/archives/index.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/blog/index.html
----------------------------------------------------------------------
diff --git a/content/blog/index.html b/content/blog/index.html
index 21b6500..e606ce9 100644
--- a/content/blog/index.html
+++ b/content/blog/index.html
@@ -5,54 +5,11 @@
   
   <title>Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta property="og:type" content="website">
 <meta property="og:title" content="Weex">
 <meta property="og:url" content="https://weex.apache.org/blog/index.html">
 <meta property="og:site_name" content="Weex">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:title" content="Weex">
   
@@ -112,13 +69,29 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/blog/index.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/blog/index.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -137,7 +110,7 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -155,7 +128,7 @@
           </a>
         </li>
         <li>
-          <a href="/faq">
+          <a href="/faq.html">
             FAQ
           </a>
         </li>
@@ -204,7 +177,7 @@
       </h1>
     
   
-  <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+  <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
 </header>
     
   </div>
@@ -230,7 +203,7 @@
           <a href="/blog/index.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/blog/index.html" data-lang="cn">中文</a>
+          <a href="/cn/blog/index.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/blog/index.html
----------------------------------------------------------------------
diff --git a/content/cn/blog/index.html b/content/cn/blog/index.html
index d97c177..0b65f60 100644
--- a/content/cn/blog/index.html
+++ b/content/cn/blog/index.html
@@ -5,54 +5,11 @@
   
   <title>Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta property="og:type" content="website">
 <meta property="og:title" content="Weex">
 <meta property="og:url" content="https://weex.apache.org/cn/blog/index.html">
 <meta property="og:site_name" content="Weex">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:title" content="Weex">
   
@@ -112,13 +69,29 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/blog/index.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/blog/index.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -137,7 +110,7 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -155,7 +128,7 @@
           </a>
         </li>
         <li>
-          <a href="/cn/faq">
+          <a href="/cn/faq.html">
             FAQ
           </a>
         </li>
@@ -230,7 +203,7 @@
           <a href="/blog/index.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/blog/index.html" data-lang="cn">中文</a>
+          <a href="/cn/blog/index.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/download.html
----------------------------------------------------------------------
diff --git a/content/cn/download.html b/content/cn/download.html
index c5e6115..14dac1f 100644
--- a/content/cn/download.html
+++ b/content/cn/download.html
@@ -5,54 +5,11 @@
   
   <title>Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta property="og:type" content="website">
 <meta property="og:title" content="Weex">
 <meta property="og:url" content="https://weex.apache.org/cn/download.html">
 <meta property="og:site_name" content="Weex">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:title" content="Weex">
   
@@ -112,13 +69,29 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/download.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/download.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -137,7 +110,7 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -155,7 +128,7 @@
           </a>
         </li>
         <li>
-          <a href="/cn/faq">
+          <a href="/cn/faq.html">
             FAQ
           </a>
         </li>
@@ -226,7 +199,7 @@
           <a href="/download.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/download.html" data-lang="cn">中文</a>
+          <a href="/cn/download.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/faq.html
----------------------------------------------------------------------
diff --git a/content/cn/faq.html b/content/cn/faq.html
index 97df78f..aac1bc0 100644
--- a/content/cn/faq.html
+++ b/content/cn/faq.html
@@ -5,49 +5,6 @@
   
   <title>常见问题 | Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta name="description" content="常见问题解答如何查阅旧文档?你可以通过文档左侧目录最后一项 “旧文档” 进入对于的历史文档页面。也可以直接访问以下链接访问:
 
 Guide
@@ -70,7 +27,7 @@ Guide
 
 Windows 指令错误请先安装 Git for Windows,在 For Windows 中查看更多信息。
 Android Studio 中 Gradle 错误下载 license-gradle-plugin.jar 可能引发一些错">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:title" content="常见问题">
 <meta name="twitter:description" content="常见问题解答如何查阅旧文档?你可以通过文档左侧目录最后一项 “旧文档” 进入对于的历史文档页面。也可以直接访问以下链接访问:
@@ -139,13 +96,29 @@ Android Studio 中 Gradle 错误下载 license-gradle-plugin.jar 可能引发一
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/faq.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/faq.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -164,7 +137,7 @@ Android Studio 中 Gradle 错误下载 license-gradle-plugin.jar 可能引发一
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -182,7 +155,7 @@ Android Studio 中 Gradle 错误下载 license-gradle-plugin.jar 可能引发一
           </a>
         </li>
         <li>
-          <a href="/cn/faq">
+          <a href="/cn/faq.html">
             FAQ
           </a>
         </li>
@@ -230,7 +203,7 @@ Android Studio 中 Gradle 错误下载 license-gradle-plugin.jar 可能引发一
       </h1>
     
   
-  <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+  <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
 </header>
     <h1 id="常见问题解答"><a href="#常见问题解答" class="headerlink" title="常见问题解答"></a>常见问题解答</h1><h2 id="如何查阅旧文档?"><a href="#如何查阅旧文档?" class="headerlink" title="如何查阅旧文档?"></a>如何查阅旧文档?</h2><p>你可以通过文档左侧目录最后一项 “旧文档” 进入对于的历史文档页面。也可以直接访问以下链接访问:</p>
 <ul>
@@ -308,7 +281,7 @@ Android Studio 中 Gradle 错误下载 license-gradle-plugin.jar 可能引发一
           <a href="/faq.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/faq.html" data-lang="cn">中文</a>
+          <a href="/cn/faq.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>

http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/22906b6f/content/cn/guide/dev-with-weexpack.html
----------------------------------------------------------------------
diff --git a/content/cn/guide/dev-with-weexpack.html b/content/cn/guide/dev-with-weexpack.html
index cbb1c12..7f04ec3 100644
--- a/content/cn/guide/dev-with-weexpack.html
+++ b/content/cn/guide/dev-with-weexpack.html
@@ -5,56 +5,13 @@
   
   <title>构建全新应用 | Weex</title>
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-  <script>
-  ;(function(){
-    var currentOrigin = location.origin,
-        currentPathname = location.pathname,
-        currentLang = navigator.language,
-        selectedLang = '';
-
-    if (!currentLang) {
-      currentLang = navigator.browserLanguage;
-    }
-
-    if (window.sessionStorage) {
-      selectedLang = window.sessionStorage.getItem('lang')
-    }
-
-    if (!selectedLang) {
-      if (currentLang.indexOf('zh') >= 0 && currentPathname.indexOf('/cn/') != 0) {
-        location.href = getUrl('cn', currentOrigin, currentPathname);
-      } else if (currentLang.indexOf('en') >= 0 && currentPathname.indexOf('/cn/') == 0) {
-        location.href = getUrl('en', currentOrigin, currentPathname);
-      }
-    }
-
-    function getUrl (lang, origin, path) {
-      if (lang == 'en') {
-        if (path.indexOf('/cn/') == 0) {
-          return origin + path.substr(3)
-        } else {
-          return origin + path
-        }
-      } else {
-        var langPath = '/' + lang + '/'
-        var pathStart = path.indexOf(langPath)
-
-        if (pathStart == 0) {
-          return origin + path
-        } else {
-          return origin + langPath + path.substr(1)
-        }
-      }
-    }
-  })();
-  </script>
   <meta name="description" content="构建全新应用Work in process.">
 <meta property="og:type" content="website">
 <meta property="og:title" content="构建全新应用">
 <meta property="og:url" content="https://weex.apache.org/cn/guide/dev-with-weexpack.html">
 <meta property="og:site_name" content="Weex">
 <meta property="og:description" content="构建全新应用Work in process.">
-<meta property="og:updated_time" content="2017-02-17T02:09:41.000Z">
+<meta property="og:updated_time" content="2017-03-01T06:05:27.000Z">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:title" content="构建全新应用">
 <meta name="twitter:description" content="构建全新应用Work in process.">
@@ -115,13 +72,29 @@
         <li>
           <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-header" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-header" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
   </div>
 </div>
         </li>
+        <li>
+          <div class="dropdown select-lang">
+            <a href="javascript:;" class="dropdown-toggle">
+              Language
+              <span class="caret"></span>
+            </a>
+            <ul class="dropdown-menu pick-lang">
+              <li>
+                <a href="/guide/dev-with-weexpack.html" data-lang="en">English</a>
+              </li>
+              <li>
+                <a href="/cn/guide/dev-with-weexpack.html" data-lang="zh-cn">中文</a>
+              </li>
+            </ul>
+          </div>
+        </li>
         <!--<li></li>-->
       </ul>
     </div>
@@ -138,7 +111,7 @@
     
       <div class="search">
   <form id="search-form" class="search-form"> <!-- 搜索框相关 -->
-    <input type="text" id="search-input-sidebar" name="q" results="0" placeholder="search..." class="form-control search-input" autocomplete="off" autocorrect="off"/>
+    <input type="text" id="search-input-sidebar" name="q" results="0" class="form-control search-input" autocomplete="off" autocorrect="off"/>
     <span class="iconfont icon-search"></span>
   </form>
   <div class="results-panel">
@@ -269,7 +242,7 @@
     
     
       <li>
-        <h3 class="chapter-title"><a href="/cn/v-0.10/guide/index.html" class="sidebar-link">旧文档</a></h3>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/guide/index.html" class="sidebar-link">旧语法文档</a></h3>
       </li>
     
   </ul>
@@ -405,7 +378,7 @@
     
     
       <li>
-        <h3 class="chapter-title"><a href="/cn/v-0.10/guide/index.html" class="sidebar-link">旧文档</a></h3>
+        <h3 class="chapter-title"><a href="/cn/v-0.10/guide/index.html" class="sidebar-link">旧语法文档</a></h3>
       </li>
     
   </ul>
@@ -423,7 +396,7 @@
       </h1>
     
   
-  <time class="article-date" datetime="2017-02-17T02:09:41.000Z">Updated time: 17/02/2017</time>
+  <time class="article-date" datetime="2017-03-01T06:05:27.000Z">Updated time: 01/03/2017</time>
 </header>
     <h1 id="构建全新应用"><a href="#构建全新应用" class="headerlink" title="构建全新应用"></a>构建全新应用</h1><p>Work in process.</p>
 
@@ -447,7 +420,7 @@
           <a href="/guide/dev-with-weexpack.html" data-lang="en">English</a>
         </li>
         <li>
-          <a href="/cn/guide/dev-with-weexpack.html" data-lang="cn">中文</a>
+          <a href="/cn/guide/dev-with-weexpack.html" data-lang="zh-cn">中文</a>
         </li>
       </ul>
     </div>


Mime
View raw message