refactoring mustache/render-section to use cond
factoring out the rendered variable from mustache/render-section