-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excerpt only flag #287
Excerpt only flag #287
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dig this!
@torrocus First of all, apologies for not reviewing this earlier. Since Parker has already approved this, I won't block this from being merged but would love it if you could clarify the following / make some changes:
|
@parkr Thanks for dig. Regarding your attention with Your second point is not that simple. Post does not always have content. The question is is this correct? View to file spec/fixtures/_posts/2015-02-12-strip-newlines.md |
To my knowledge, the Of course, having a test for this would make things clear and concrete. |
Right, I corrected it. Previously, one test failed. Now everything is OK, and I already had this code written in this way. |
Please squash all commits when you will merge. |
@parkr Since the diff changed significantly after you gave your approval, could you do a re-review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
@jekyllbot: merge +minor |
Create new flag
excerpt_only
, which allows to exclude post content from feed.PR to issue: #277
BTW I don't like name
excerpt_only
, but don't have better idea. IMO this name should get true value for full content and false value for excerpt.