This uses @dnephin's changes to the base.html (thank you!)
and then adds the hide_toc: page meta
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
| ... | ... |
@@ -1,3 +1,7 @@ |
| 1 |
+page_title: Search the Docker documentation |
|
| 2 |
+page_keywords: Docker, search documentation |
|
| 3 |
+no_toc: true |
|
| 4 |
+ |
|
| 1 | 5 |
# Search |
| 2 | 6 |
|
| 3 | 7 |
<form id="content_search" action="/jsearch/"> |
| ... | ... |
@@ -6,4 +10,5 @@ |
| 6 | 6 |
</form> |
| 7 | 7 |
|
| 8 | 8 |
<div id="tipue_search_content"> |
| 9 |
+Sorry, page not found. |
|
| 9 | 10 |
</div> |
| ... | ... |
@@ -49,6 +49,7 @@ |
| 49 | 49 |
{% include "nav.html" %}
|
| 50 | 50 |
<div id="content" class="container"> |
| 51 | 51 |
<div class="row"> |
| 52 |
+{% if not meta.no_toc %}
|
|
| 52 | 53 |
<div class="span3" id="leftnav"> |
| 53 | 54 |
<div id="toc_table"> |
| 54 | 55 |
<ul class="nav nav-tabs nav-stacked"> |
| ... | ... |
@@ -57,6 +58,9 @@ |
| 57 | 57 |
</div> |
| 58 | 58 |
</div> |
| 59 | 59 |
<div class="span9 content-body"> |
| 60 |
+{% else %}
|
|
| 61 |
+ <div class="span12 content-body"> |
|
| 62 |
+{% endif %}
|
|
| 60 | 63 |
{% include "beta_warning.html" %}
|
| 61 | 64 |
<div id="versionnav" class="span3 pull-right"> |
| 62 | 65 |
<ul class="nav version pull-right"> |
| ... | ... |
@@ -80,23 +84,7 @@ |
| 80 | 80 |
|
| 81 | 81 |
</div> |
| 82 | 82 |
|
| 83 |
-{#
|
|
| 84 |
- <div class="row"> |
|
| 85 |
- <div class="container container-better"> |
|
| 86 |
- <div class="row"> |
|
| 87 |
- <div class="col-sm-4"> |
|
| 88 |
- {% include "toc.html" %}
|
|
| 89 |
- </div> |
|
| 90 |
- <div class="col-sm-8" role="main"> |
|
| 91 |
- {% include "breadcrumbs.html" %}
|
|
| 92 |
- <main id="content" role="main"> |
|
| 93 |
- {% include "version.html" %}
|
|
| 94 |
- {{ content }}
|
|
| 95 |
- </main> |
|
| 96 |
- </div> |
|
| 97 |
- </div> |
|
| 98 |
- </div> |
|
| 99 |
- </div> |
|
| 83 |
+{# need to find an unobtrusive way to add this back
|
|
| 100 | 84 |
{% include "prev_next.html" %}
|
| 101 | 85 |
#} |
| 102 | 86 |
|