From d39769cac7eb3a0a0f4442f8b7091b557a3a47f7 Mon Sep 17 00:00:00 2001 From: Adam Schmideg Date: Tue, 18 Dec 2018 18:36:51 +0100 Subject: [PATCH] Add a navbar that is expanded by default --- _config.yml | 6 ++--- _includes/nav.html | 59 ++++++++++++++++++++++++++++++++++++++++++++++ _layouts/base.html | 2 +- 3 files changed, 63 insertions(+), 4 deletions(-) create mode 100644 _includes/nav.html diff --git a/_config.yml b/_config.yml index 13f2dd9c05..0cf1e6807b 100644 --- a/_config.yml +++ b/_config.yml @@ -5,8 +5,8 @@ exclude: - Gemfile - Gemfile.lock - .gitignore - layout: page navbar-links: - Home: "" - Documents: "/docs" + Home: "docs" + Documents: "docs" + diff --git a/_includes/nav.html b/_includes/nav.html new file mode 100644 index 0000000000..e9939d36e6 --- /dev/null +++ b/_includes/nav.html @@ -0,0 +1,59 @@ + diff --git a/_layouts/base.html b/_layouts/base.html index 550cb05bac..7e01660793 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -1,7 +1,7 @@ --- common-css: - "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" - - "/css/bootstrap-social.css" + - "https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/5.1.1/bootstrap-social.min.css" - "https://deanattali.com/css/main.css" common-ext-css: - "//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css"