Add layout keyword to kramdown export and simplify