Skip to content
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

Adds excerpt to posts #837

Merged
merged 2 commits into from
Mar 17, 2013
Merged

Adds excerpt to posts #837

merged 2 commits into from
Mar 17, 2013

Conversation

ixti
Copy link
Member

@ixti ixti commented Mar 4, 2013

This is a rebased version of #727 with corrections requested by @mojombo

@ryanmasondavies
Copy link

👍 would love to see this merged.

@AlexanderEkdahl
Copy link
Contributor

Cool idea however this would likely mess up a lot of old posts and would result in the loss of the first paragraph. I'd say this should be a plugin rather than a jekyll feature.

@ixti
Copy link
Member Author

ixti commented Mar 10, 2013

@AlexanderEkdahl How does it mess old posts? It just adds extra property excerpt to a post which is not obligatory to use.

@AlexanderEkdahl
Copy link
Contributor

My bad. I thought it removed the first paragraph and put it in the excerpt variable.

I like it and need it for one of my sites. However, I'd still rather have it as a monkey-patch-plugin 😈

@parkr
Copy link
Member

parkr commented Mar 11, 2013

@ixti I'm 👍 on this, but before I merge, what's the performance impact of this?

@ixti
Copy link
Member Author

ixti commented Mar 13, 2013

@parkr I don't know "exact numbers". It's needed to be tested on real big data. In general impact will be insignificant.

@parkr
Copy link
Member

parkr commented Mar 16, 2013

If I have a lot of long posts, it'll probably be a significant performance impact. But, like you said, we need exact numbers.

Would you please update the documentation (in ./site) with this feature?

# [1]: http://example.com/
#
# This is fairly good option for Markdown and Textile files. But might cause
# problems for HTML posts (which is quiet unusual for Jekyll). If default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error: quiet should be quite.

@ixti
Copy link
Member Author

ixti commented Mar 17, 2013

@mojombo Fixed typo and explicit nil returns.
@parkr I don't know where to put that documentation (which section/post).

@parkr
Copy link
Member

parkr commented Mar 17, 2013

Looks great to me! Your method documentation is enough of a starting point for us to update the site. Thanks man!

parkr added a commit that referenced this pull request Mar 17, 2013
@parkr parkr merged commit 936ed1f into jekyll:master Mar 17, 2013
parkr added a commit that referenced this pull request Mar 17, 2013
@ixti
Copy link
Member Author

ixti commented Mar 17, 2013

Awesome! Thanks!

@parkr parkr mentioned this pull request Dec 16, 2016
17 tasks
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants