updated gitignore
added class to posts page; fixed code output issue