add posts#index layout and published scope