jonge-democraten / website

JD website
https://jongedemocraten.nl
MIT License
6 stars 2 forks source link

Blog post and blog listing template #70

Closed bartromgens closed 9 years ago

bartromgens commented 9 years ago

I merged the feature/blogpost branch in 3336db28f57bf8553648d8f8cabc94c0b3ec1af1.

All the basics are finished. It only needs polishing, so I decided to merge to get some feedback.

What is new,

TODO:

There are still some small differences with the current jd.nl layout. Not sure how important they are. Feedback is welcome!

bartromgens commented 9 years ago

Changed milestone from 4 to 5 because I think we can go live with the current state. The missing functionality is the last 20% of milestone 5.

bartromgens commented 9 years ago

We (Bas, Pieter, Bart) decided to use the homepage header image for blogpost detail view/pages.

bartromgens commented 9 years ago

Header image for blog post view has been added in commit bd1a250d8a11d28b1ee86086326c7f3f6cfc673a. It will always take the homepage header.

bartromgens commented 9 years ago

Added basic blog design documentation in commit 08fcd9fe3a0870dd2c6512adcd0f10e85fd389cc.

bartromgens commented 9 years ago

Added some basic unit tests for the blog category page in commit d85c97e9babd8805ae37f46bc871bbd74c8958f9

bartromgens commented 9 years ago

Added optional blog post excerpt view on blog category page in commit a1536e6de79119af145671e1778f8dffa5c01e98.

It can be enabled on the BlogCategoryPage admin, under the blog category combobox, show_excerpt

And will show only the first paragraph of a blog post, and a 'read more...' link, excerpt_page_example

Also implemented in the mobile template.

Note that this change requires a database migration on an existing database (manage.py migrate).

bartromgens commented 9 years ago

I believe this issue can be closed now. New issues can be created for any blog related issue that may pop-up.