refactor article and index to use nested layouts