fixing layoutdir
making layout: false in yaml headers work