diff --git a/README.md b/README.md index 8f2479f537..c3a30edc68 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ If you'd like to read it locally, [install Rust], and then: ```bash $ git clone https://github.com/rust-lang/rust-by-example $ cd rust-by-example -$ cargo install mdbook +$ cargo install --version 0.1.7 mdbook $ mdbook build $ mdbook serve ``` diff --git a/theme/index.hbs b/theme/index.hbs index 89dfaaa45b..71ae195906 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -1,11 +1,13 @@ - + + {{ title }} + @@ -16,169 +18,236 @@ - + - + {{#each additional_css}} {{/each}} {{#if mathjax_support}} - + {{/if}} - - - - - - - - - - - - - {{#each additional_js}} - - {{/each}} - + + + - +
-
+
+ {{> header}} - - {{#previous}} - - {{/previous}} - - {{#next}} - - {{/next}} +
- - - - - - {{{livereload}}} + {{/if}} {{#if google_analytics}} - {{/if}} - {{#if playpens_editable}} - - - - - - {{/if}} - {{#if is_print}} - {{/if}} - - + {{#if playpen_js}} + + + + + + {{/if}} + + {{#if search_enabled}} + + {{/if}} + {{#if search_js}} + + + + {{/if}} + + + + + + + {{#each additional_js}} + + {{/each}} +