From 0b5ee08fcb8bb3556287ac1ab67c89dfc91e30d7 Mon Sep 17 00:00:00 2001 From: "Unisko PENG," Date: Wed, 29 Mar 2023 10:23:43 +0800 Subject: [PATCH] Add menu-bar links --- index.html | 353 ++++++++++++++++-------------- theme/index.hbs | 571 +++++++++++++++++++++++++----------------------- 2 files changed, 481 insertions(+), 443 deletions(-) diff --git a/index.html b/index.html index eea4786..9bfdb36 100644 --- a/index.html +++ b/index.html @@ -1,151 +1,170 @@ - - - - 60 天通过 CCNA 考试 - CCNA60D Chinese, 中文版 CCNA 60 days + + + + 60 天通过 CCNA 考试 - CCNA60D Chinese, 中文版 CCNA 60 days - - - - - + + + + + - - - - - - + + + + + + - - - + + + - - - - + + + + - - + + - - + +
- - + + - - + if (sidebar.startsWith('"') && sidebar.endsWith('"')) { + localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1)); + } + } catch (e) { } + - - + + - - + + - -
+

CCNA60D Chinese, 中文版 CCNA 60 days

-
- - +
- + - - + + -
-
-

60 天通过 CCNA 考试 🖧

+
+
+

60 天通过 CCNA 考试 🖧

Cisco CCNA in 60 Days

  • @@ -201,65 +220,65 @@
  • 完成第36天--EIGRP 章节的修订,EIGRP已无问题
-
+
-
-
- - - +
- - + - + - - - + + + - - - + + + - - + + - + diff --git a/theme/index.hbs b/theme/index.hbs index 3961d6f..0ea49df 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -1,317 +1,336 @@ - - - - {{ title }} - {{#if is_print }} - - {{/if}} - {{#if base_url}} - - {{/if}} + + + + {{ title }} + {{#if is_print }} + + {{/if}} + {{#if base_url}} + + {{/if}} - - {{> head}} + + {{> head}} - - - + + + - {{#if favicon_svg}} - - {{/if}} - {{#if favicon_png}} - - {{/if}} - - - - {{#if print_enable}} - - {{/if}} + {{#if favicon_svg}} + + {{/if}} + {{#if favicon_png}} + + {{/if}} + + + + {{#if print_enable}} + + {{/if}} - - - {{#if copy_fonts}} - - {{/if}} + + + {{#if copy_fonts}} + + {{/if}} - - - - + + + + - - {{#each additional_css}} - - {{/each}} + + {{#each additional_css}} + + {{/each}} - {{#if mathjax_support}} - - - {{/if}} - - + {{#if mathjax_support}} + + + {{/if}} + +
- - + + - - + if (sidebar.startsWith('"') && sidebar.endsWith('"')) { + localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1)); + } + } catch (e) { } + - - + + - - + + - + -
+
-
- {{> header}} - - - - {{#if search_enabled}} - - {{/if}} - - - - -
-
- {{{ content }}} -
- - -
+
+ {{> header}} + + + + {{#if search_enabled}} + + {{/if}} + + + + +
+
+ {{{ content }}} +
+ + - +
- {{#if live_reload_endpoint}} - - + {{/if}} - window.onbeforeunload = function() { - socket.close(); - } - - {{/if}} + {{#if google_analytics}} + + + {{/if}} - ga('create', '{{google_analytics}}', 'auto'); - ga('send', 'pageview'); - } - - {{/if}} + {{#if playground_line_numbers}} + + {{/if}} - {{#if playground_line_numbers}} - - {{/if}} + {{#if playground_copyable}} + + {{/if}} - {{#if playground_copyable}} - - {{/if}} + {{#if playground_js}} + + + + + + {{/if}} - {{#if playground_js}} - - - - - - {{/if}} + {{#if search_js}} + + + + {{/if}} - {{#if search_js}} - - - - {{/if}} + + + - - - + + {{#each additional_js}} + + {{/each}} - - {{#each additional_js}} - - {{/each}} - - {{#if is_print}} - {{#if mathjax_support}} - - {{else}} - + {{else}} + - {{/if}} - {{/if}} + window.setTimeout(window.print, 100); + }); + + {{/if}} + {{/if}}
- +