Fix to the atom.j2 layout to keep the article 'resource' scope, thus fixing some issues that may occur if you had references to the 'resource' variable within the article content.