Add .swo files to .gitignore
Improve views and urls
Add tests and fix was_published_recently() function bug