From 0e5a0ae6ef003a0797b46e92cd4c5e38b3c94f12 Mon Sep 17 00:00:00 2001 From: Oscar Cortez Date: Sat, 18 Jul 2015 23:19:58 -0600 Subject: [PATCH] :docs: Add configs for the post layout --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c7e3f32..e60ac5c 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,25 @@ # jekyll-mdl > A Jekyll theme based in Google Material Design Lite library. +## Post Configs + +All the post, require an image and maybe an author, the image are used in the cards and the autor used for the footer in the cards. For use the images and author, just add a new key in the post config, something like this: + + --- + layout: post + title: "Welcome to jekyll-mdl" + date: 2015-07-11 11:34:20 + categories: jekyll + image: http://www.wchs4pets.org/wp-content/uploads/2015/03/cat_1-jpg.jpg + author: Google Developers Group Managua + --- + ## Layout Configs You can setup 4 types of layout - Fixed Nav + Simple Card Grid -- Drawer Nav + Simple Card Grid - Fixed Nav + Highlight Post + Card Grid +- Drawer Nav + Simple Card Grid - Drawer Nav + Highlight Post + Card Grid For use this in the [_config.yml](https://github.com/gdg-managua/jekyll-mdl/blob/master/_config.yml) select the type of layout, rebuild the website and voilĂ  :smile: