Highlight multiple post
Now the highlight post is based on the post data, so now we have more than only one highlight post. If you want make a highlighted post add highlight: true in your post data.
This commit is contained in:
parent
ecaadedbb0
commit
548a36cbae
4 changed files with 32 additions and 28 deletions
|
|
@ -23,13 +23,14 @@ Now add this in the _includes/head.html file, under the main css and enjoy your
|
|||
|
||||
## Post Options
|
||||
|
||||
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:
|
||||
All the post, require an image and maybe an author and declare if the post is highlighted or not, the image are used in the cards and the autor used for the footer in the cards, the highlighted post is used for make this 12 cols and not a card, if you want to use the custom images and set the author and the highlight post, 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
|
||||
highlight: true
|
||||
image: http://www.wchs4pets.org/wp-content/uploads/2015/03/cat_1-jpg.jpg
|
||||
author: Google Developers Group Managua
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue