refactor index and _partial for both blog and work section