From 2597e4eaee47f2b4a57fe3ad752a2b87585b8e62 Mon Sep 17 00:00:00 2001 From: Lellansin Date: Mon, 22 May 2017 13:56:50 +0800 Subject: [PATCH] site: nav bar, update diff home for each language --- _navbar.md | 2 +- index.html | 11 +---------- sections/en-us/_navbar.md | 4 ++++ sections/zh-cn/_navbar.md | 4 ++++ 4 files changed, 10 insertions(+), 11 deletions(-) create mode 100644 sections/en-us/_navbar.md create mode 100644 sections/zh-cn/_navbar.md diff --git a/_navbar.md b/_navbar.md index f32dd39..fdaee99 100644 --- a/_navbar.md +++ b/_navbar.md @@ -1,4 +1,4 @@ - [Home](/) - Translations - [English](sections/en-us/) - - [简体中文](sections/zh-cn/) \ No newline at end of file + - [简体中文](sections/zh-cn/) diff --git a/index.html b/index.html index 1e2acd3..e4f7644 100644 --- a/index.html +++ b/index.html @@ -19,15 +19,6 @@ .sidebar blockquote { margin-left: 12px; } - nav.app-nav { - position: fixed; - background-color: rgba(255, 255, 255, .8); - width: 100%; - margin-top: 0; - padding: 13px 0; - border-bottom: 1px solid rgba(0, 0, 0, .07); - margin-top: 0; - } section.content { padding-top: 50px; } @@ -41,7 +32,7 @@ name: 'Node.js Interview', auto2top: true, loadNavbar: true, - // loadSidebar: true + repo: 'ElemeFE/node-interview/' } diff --git a/sections/en-us/_navbar.md b/sections/en-us/_navbar.md new file mode 100644 index 0000000..9e6abc4 --- /dev/null +++ b/sections/en-us/_navbar.md @@ -0,0 +1,4 @@ +- [Home](sections/en-us/) +- Translations + - [English](sections/en-us/) + - [简体中文](sections/zh-cn/) diff --git a/sections/zh-cn/_navbar.md b/sections/zh-cn/_navbar.md new file mode 100644 index 0000000..da9c2d4 --- /dev/null +++ b/sections/zh-cn/_navbar.md @@ -0,0 +1,4 @@ +- [Home](sections/zh-cn/) +- Translations + - [English](sections/en-us/) + - [简体中文](sections/zh-cn/)