CodeForTucson / codefortucson-site

Current Code for Tucson website
http://www.codefortucson.org
GNU General Public License v2.0
3 stars 8 forks source link

Emphasize Communityshare on homepage project list #78

Closed dmsnell closed 8 years ago

dmsnell commented 8 years ago

Previously, we were simply grabbing the three most-recent projects listed by their project date and displaying them on the home page.

This patch makes sure that the Communityshare project is displayed in that list and also that it appears first. In order to support this effort, I have refactored the HTML of the project row into a separate _include file to try and make the logic of the display easier.

Testing Compare the homepage on the master branch at codefortucson.org with the local version. In the master branch, the Communityshare project doesn't make the short list of projects we're working on. In the local branch, it should appear at the top of the list.

cc: @meiqimichelle

meiqimichelle commented 8 years ago

🎉