Compatibility with new-style metadata in Nikola v7

This is getnikola/nikola#1184.