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

why i set the “post-preview-words” it don't work,always show the whole post #31

Closed
elicec0 opened this issue Oct 23, 2015 · 6 comments

Comments

@elicec0
Copy link

elicec0 commented Oct 23, 2015

why i set the “post-preview-words” it don't work,always show the whole post

@le4ker
Copy link
Owner

le4ker commented Oct 23, 2015

Hi,

The post preview's size is defined in _config.yml by the variable

post-preview-words: 96

If your post is less thatn 96 words, then yes it's expected to render whole.
But you can always reduce the post-preview-words value.

@le4ker
Copy link
Owner

le4ker commented Oct 23, 2015

Also note that if you are serving the website locally (not i.e on GitHub Pages), then each time you modify the _config.yml you have to kill (Ctr + C) the serving and start it again.

I'm closing this issue and in case that I have misunderstood your case feel free to open it again and elaborate or give a repro 😄

@le4ker le4ker closed this as completed Oct 23, 2015
@elicec0
Copy link
Author

elicec0 commented Oct 31, 2015

my sample website elicec0.github.io。

@le4ker le4ker reopened this Oct 31, 2015
@le4ker
Copy link
Owner

le4ker commented Oct 31, 2015

Thanks, I will have a look soon in order to see if it's a repro or not 😄

@le4ker
Copy link
Owner

le4ker commented Nov 1, 2015

I can't reproduce it on the head of the personal-jekyll-theme repository. I have two suspicions, either you forked the repository during a regression, or liquid is acting weird with Chinese characters.

But, I believe that the first is more probable 😄
So, my suggestion is to run follow this guide in order to integrate the latest bug fixes of personal-jekyll-theme into your repository.

@le4ker le4ker closed this as completed Nov 1, 2015
@elicec0
Copy link
Author

elicec0 commented Nov 2, 2015

i will try ,thank you very much~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants