Skip to content

Commit b74f290

Browse files
committed
added dynamic tagline to posts and conditional display statement on partial view
1 parent 93e0c46 commit b74f290

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

_includes/themes/twitter/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="page-header">
2-
<h1>{{ page.title }} <small>{{page.description}}</small></h1>
2+
<h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endif %}</h1>
33
</div>
44

55
<div class="row">

_posts/core-samples/2011-12-29-jekyll-introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: post
33
category : lessons
4+
tagline: "Supporting tagline"
45
tags : [intro, beginner, jekyll, tutorial]
56
---
67
{% include JB/setup %}

0 commit comments

Comments
 (0)