Skip to content

Commit

Permalink
+ excerpt to homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Maier authored and Brian Maier committed Nov 19, 2017
1 parent 3ba855a commit bf50eaf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _posts/2014-12-15-example-post-formatting.markdown
Expand Up @@ -2,7 +2,7 @@
layout: post
title: "Example Post Formatting"
date: 2014-12-15
description: This is a post description for meta purposes.
description: This is a post description for meta purposes. This is also the excerpt of the article that shows up on the index/home page. Change this in the post YAML.
---

<p class="intro"><span class="dropcap">C</span>urabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Vestibulum id ligula porta felis euismod semper. Donec sed odio dui. Aenean lacinia bibendum nulla sed consectetur.</p>
Expand Down
3 changes: 0 additions & 3 deletions assets/scss/breakpoints/_mobileup.scss
Expand Up @@ -171,7 +171,6 @@ PAGE STYLES
padding-top: 1em;
}


/***************
HEADER STYLING
***************/
Expand Down Expand Up @@ -493,5 +492,3 @@ POST LIST STYLING
}
}



2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -10,7 +10,7 @@ <h1 class="pageTitle">Recent Posts</h1>
<li>
<span class="date">{{ post.date | date: '%B %d, %Y' }}</span>
<h3><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
<p class="description">{% if post.description %}{{ post.description | strip_html | strip_newlines | truncate: 250 }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 250 }}{% endif %}</p>
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.excerpt | strip_html }}{% endif %}</p>
</li>
{% endfor %}
</ul>
Expand Down

0 comments on commit bf50eaf

Please sign in to comment.