added logic to resources, content & stack partials