CenterForOpenScience / osc

Open Science Collaboration Blog
http://osc.centerforopenscience.org
8 stars 13 forks source link

Added summaries of article to blog index page #60

Closed ahalbert closed 10 years ago

ahalbert commented 10 years ago

I changed the default length of the summaries to 100 words and added the summary plugin to the. Articles on the index page now show as summaries and a read more... links to the rest of the article. Summaries can be changed by using the summary plugin.

shaunagm commented 10 years ago

The default summary length seems to be working, but I can't get the custom summary lengths working (including on the test article you included in the pull request - see image). Were the custom summary lengths working for you? img

ahalbert commented 10 years ago

Yes. Did you run it with pelican ./site/ -s build.py or python build.py? It didn't work with the latter.

shaunagm commented 10 years ago

This was an issue with @chrisgarry's pull request as well. I have now tried pelican ./site -s build.py, but I'm still not seeing the custom summary on the data trawling article. Any other steps I might be missing?

ahalbert commented 10 years ago

Are you getting any error messages? I noticed @chrisgarry's pull request was accepted. What did you do to fix his request?

ahalbert commented 10 years ago

Okay, I found the problem. A space was missing in

shaunagm commented 10 years ago

Where is the space missing? What file/line?

shaunagm commented 10 years ago

Nevermind, I see you added a commit. :) Looks like it works now, I'll merge shortly.

shaunagm commented 10 years ago

Fixes #34