jaspervdj/hakyll — pull request #261 by tarleb (2014-05-23 13:28:03+00:00)
Title: Metadata: Allow org-style metadata headers

Org-style metadata definitions take the form of `#+key: value` and are
the standard way of defining metadata in Emacs Org-mode documents. In
order to avoid duplicate metadata definitions and a syntax unfamiliar to
org-mode users, this patch allowes the use of org-style metadata
definitions. Every line at the beginning of a file which follows the
above pattern is treated as Hakyll metadata. The metadata-block is
terminated by any other line.

As a consequence, if a user wants to define additional
metadata (e.g. `#+LINK` headers for Pandoc), she must separate those
metadata definitions from the topmost metadata block, e.g. using a blank
line.