last_post_id should be null if there is no last post
Fixed pagination bug if there are no items.
It shows now "Page: 1" instead of nothing.
PEP8
Small template fix