Moved training tag block out of the 'if pages' condition