Removed if in index view and made the index query faster
Working on pagination
Merge branch 'master' of https://github.com/Robdel12/blog