Adding layout to decorate pages