From c0ee41733f534c53041d5007210cdac964f79f96 Mon Sep 17 00:00:00 2001 From: Oscar Cortez Date: Tue, 14 Jul 2015 12:10:34 -0600 Subject: [PATCH] New Header Type Create a config for the type of the header used in the site, if the header type is drawer then a sidebar is loaded else use a simple material nav --- _config.yml | 2 + _includes/header.html | 2 +- _includes/header_fixed.html | 39 +++++++++++++++++++ _layouts/default.html | 5 +++ .../2015-07-11-using-jekyll-themes.markdown | 25 ++++++++++++ .../2015-07-11-using-nicaragua-svg.markdown | 25 ++++++++++++ _posts/2015-07-11-welcome-to-mdl.markdown | 25 ++++++++++++ 7 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 _includes/header_fixed.html create mode 100644 _posts/2015-07-11-using-jekyll-themes.markdown create mode 100644 _posts/2015-07-11-using-nicaragua-svg.markdown create mode 100644 _posts/2015-07-11-welcome-to-mdl.markdown diff --git a/_config.yml b/_config.yml index 2f03e74..060a7d8 100644 --- a/_config.yml +++ b/_config.yml @@ -10,5 +10,7 @@ url: "http://yourdomain.com" # the base hostname & protocol for your site twitter_username: jekyllrb github_username: jekyll +# Layout settings +header_type: fixed # Build settings markdown: kramdown diff --git a/_includes/header.html b/_includes/header.html index 92c17dc..e14f458 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -37,7 +37,7 @@
- {{ site.title }} + {{ site.title }}