add PostSummary class in data.py.
modify home page template.