[Commotion-admin] [commotion-docs] blog post teaser image fix + front layout refinement (#110)

critzo notifications at github.com
Tue Mar 18 21:37:51 UTC 2014


This pull request will fix the display of blog post teasers on the front page and on the main blog page, only displaying a teaser image if the value for a teaser image is set in the post's front matter. This also incorporates template changes per https://github.com/opentechinstitute/commotion-docs/issues/15

To test, pull the issue-99 branch, build & serve using a local jekyll server, and confirm that "broken" images do not appear in various browsers on the front page / and on the main blog page /blog

To test issue 15, confirm that the front page displays properly using the new layout code in _layouts/front.html
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/commotion-docs issue-99

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotion-docs/pull/110

-- Commit Summary --

  * added logic to the blog posts displays to only provide the teaser image if it's been set in the blog post. Also refined front layout with proper include files per issue #15

-- File Changes --

    M commotionwireless.net/_includes/blog-front-content.html (2)
    A commotionwireless.net/_includes/blog-recent-posts.html (8)
    A commotionwireless.net/_includes/download-button-block.html (1)
    A commotionwireless.net/_includes/left-third-close.html (1)
    A commotionwireless.net/_includes/left-third-open.html (1)
    A commotionwireless.net/_includes/right-twothird-close.html (1)
    A commotionwireless.net/_includes/right-twothird-open.html (1)
    A commotionwireless.net/_includes/right-twothird.html (1)
    A commotionwireless.net/_includes/twitter-feed-block.html (2)
    M commotionwireless.net/_layouts/front.html (29)

-- Patch Links --

https://github.com/opentechinstitute/commotion-docs/pull/110.patch
https://github.com/opentechinstitute/commotion-docs/pull/110.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotion-docs/pull/110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140318/c0910bb7/attachment-0001.html>


More information about the Commotion-admin mailing list