From edb733ebc7db2d76bdac2611cbd83c5ae36f4fee Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 8 May 2013 21:56:08 -0700 Subject: Super massive docs overhaul * Bring back the navbar up top * Pull the docs content back into separate pages because a 6.6k line docs file is just crazy * Recenter the page content and bring back affixed side nav (needs work) --- docs/_layouts/customize.html | 30 +++++++++++++++++++++++++++++ docs/_layouts/default.html | 45 +++++++++++++++++++++++++++++++++++++------- docs/_layouts/home.html | 3 +++ 3 files changed, 71 insertions(+), 7 deletions(-) create mode 100644 docs/_layouts/customize.html (limited to 'docs/_layouts') diff --git a/docs/_layouts/customize.html b/docs/_layouts/customize.html new file mode 100644 index 000000000..31a5647eb --- /dev/null +++ b/docs/_layouts/customize.html @@ -0,0 +1,30 @@ + + + + + {% include header.html %} + + + + + + {% include nav-main.html %} + + +
+ {{ content }} + + + + Back to top + + + + {% include colophon.html %} +
+ + + {% include footer.html %} + + + diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 8015c1587..ae8db92ef 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -5,16 +5,47 @@ {% include header.html %} - + - - {% include docs-nav.html %} + + {% include nav-main.html %} - - {{ content }} + +
+
+

{{ page.title }}

+

{{ page.lead }}

+
- - {% include colophon.html %} +
+
+
+ +
+
+
+ {{ content }} +
+
+ + + + Back to top + + + + {% include colophon.html %} +
{% include footer.html %} diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html index 184936f38..9230184dc 100644 --- a/docs/_layouts/home.html +++ b/docs/_layouts/home.html @@ -7,6 +7,9 @@ + + {% include nav-main.html %} + {{ content }} -- cgit v1.2.3