mendicant/mendicantuniversity.org — pull request #27 by daniely (2012-07-01 16:17:56+00:00)
Title: loops occur on posts

I don't mean to nitpick but one thing I've learned is that variable naming is pretty important.

There are two loops that incorrectly name the variable it's looping over. It's true that the loops are filtering out specific types of posts but what's being looped over are actually posts so I named it accordingly. I noticed this problem when I was working on #24 and was getting confused by the variable naming.

An interesting result of this is being able to clearly see duplicate sets of code in two locations now. Not sure it's worth the effort to extract it out but I just thought it was interesting.

```

{{ post.title }}
{{post.date | date: "%Y %B %d"}}

```