added dynamic tagline to posts and conditional display statement on partial view

This commit is contained in:
Laura Cabrera 2012-04-01 23:06:53 -07:00
parent 93e0c465fd
commit b74f290698
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
<div class="page-header">
<h1>{{ page.title }} <small>{{page.description}}</small></h1>
<h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endif %}</h1>
</div>
<div class="row">

View file

@ -1,6 +1,7 @@
---
layout: post
category : lessons
tagline: "Supporting tagline"
tags : [intro, beginner, jekyll, tutorial]
---
{% include JB/setup %}