Store data from YAML front matter in HTML data-attributes.