From b89b683f90cc46e3f9e29dda021d50f435a75df3 Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Tue, 6 Aug 2019 15:56:29 -0400 Subject: [PATCH 1/2] Add content footer --- _config.yml | 4 +- _includes/nav.html | 86 +++++++++++++++++++++---------------------- _layouts/default.html | 21 ++++++++--- _sass/layout.scss | 1 + _sass/navigation.scss | 6 +++ docs/customization.md | 2 - 6 files changed, 67 insertions(+), 53 deletions(-) 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 @@ - + 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 @@
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. - ---- From f2cec110ff1e635d38dcda548bfacd08e354b86a Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Wed, 14 Aug 2019 10:50:49 -0400 Subject: [PATCH 2/2] Add footer content docs --- _config.yml | 1 + docs/configuration.md | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/_config.yml b/_config.yml index d5e2784..ad2ca04 100644 --- a/_config.yml +++ b/_config.yml @@ -29,6 +29,7 @@ aux_links: "Just the Docs on GitHub": - "//github.com/pmarsceill/just-the-docs" +# Footer content appears at the bottom of every page's main content footer_content: "Copyright © 2017-2019 Patrick Marsceill. Distributed by an MIT license." # Color scheme currently only supports "dark" or nil (default) diff --git a/docs/configuration.md b/docs/configuration.md index 4a4caef..3b79750 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -38,6 +38,13 @@ aux_links: - "//github.com/pmarsceill/just-the-docs" ``` +## Footer content + +```yaml +# Footer content appears at the bottom of every page's main content +footer_content: "Copyright © 2017-2019 Patrick Marsceill. Distributed by an MIT license." +``` + ## Color scheme ```yaml