diff --git a/_config.yml b/_config.yml
index 4b93827..d5e2784 100644
--- a/_config.yml
+++ b/_config.yml
@@ -29,6 +29,8 @@ aux_links:
"Just the Docs on GitHub":
- "//github.com/pmarsceill/just-the-docs"
+footer_content: "Copyright © 2017-2019 Patrick Marsceill. Distributed by an MIT license."
+
# Color scheme currently only supports "dark" or nil (default)
color_scheme: nil
@@ -37,4 +39,4 @@ color_scheme: nil
ga_tracking: UA-2709176-10
plugins:
- - jekyll-seo-tag
\ No newline at end of file
+ - jekyll-seo-tag
diff --git a/_includes/nav.html b/_includes/nav.html
index 2c4bf1e..35984d5 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -1,44 +1,42 @@
-
+
+ {% assign pages_list = site.html_pages | sort:"nav_order" %}
+ {% for node in pages_list %}
+ {% unless node.nav_exclude %}
+ {% if node.parent == nil %}
+ -
+ {% if page.parent == node.title or page.grand_parent == node.title %}
+ {% assign first_level_url = node.url | absolute_url %}
+ {% endif %}
+ {{ node.title }}
+ {% if node.has_children %}
+ {% assign children_list = site.html_pages | sort:"nav_order" %}
+
+ {% for child in children_list %}
+ {% if child.parent == node.title %}
+ -
+ {% if page.url == child.url or page.parent == child.title %}
+ {% assign second_level_url = child.url | absolute_url %}
+ {% endif %}
+ {{ child.title }}
+ {% if child.has_children %}
+ {% assign grand_children_list = site.html_pages | sort:"nav_order" %}
+
+ {% for grand_child in grand_children_list %}
+ {% if grand_child.parent == child.title %}
+ -
+ {{ grand_child.title }}
+
+ {% endif %}
+ {% endfor %}
+
+ {% endif %}
+
+ {% endif %}
+ {% endfor %}
+
+ {% endif %}
+
+ {% endif %}
+ {% endunless %}
+ {% endfor %}
+
diff --git a/_layouts/default.html b/_layouts/default.html
index 2d5fe6b..3eb3a28 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -8,12 +8,14 @@
{{ site.title }}
-
- {% include nav.html %}
-
-
+
diff --git a/_sass/layout.scss b/_sass/layout.scss
index ddd56fa..7926879 100644
--- a/_sass/layout.scss
+++ b/_sass/layout.scss
@@ -137,6 +137,7 @@ body {
.site-footer {
position: absolute;
bottom: 0;
+ left: 0;
padding-top: $sp-4;
padding-bottom: $sp-4;
diff --git a/_sass/navigation.scss b/_sass/navigation.scss
index 364c569..6d276b2 100644
--- a/_sass/navigation.scss
+++ b/_sass/navigation.scss
@@ -19,6 +19,12 @@
}
}
+.navigation-wrapper {
+ display: flex;
+ flex-direction: column;
+ flex: 1 1 auto;
+}
+
.navigation-list {
padding: 0;
margin-top: $sp-4;
diff --git a/docs/customization.md b/docs/customization.md
index f3fe1c0..d33a69b 100644
--- a/docs/customization.md
+++ b/docs/customization.md
@@ -69,5 +69,3 @@ $link-color: $blue-000;
```
_Note:_ Editing the variables directly in `_sass/support/variables.scss` is not recommended and can cause other dependencies to fail.
-
----