update midnight theme to use front-matter