@@ -38,7 +38,7 @@ import Text.Pandoc.Highlighting ( highlightHtml )
3838import Text.Pandoc.XML (stripTags)
3939import Numeric ( showHex )
4040import Data.Char ( ord, toLower )
41−import Data.List ( isPrefixOf, intersperse, intercalate )
41+import Data.List ( isPrefixOf, intersperse )
4242import Data.Maybe ( catMaybes )
4343import Control.Monad.State
4444import Text.XHtml.Transitional hiding ( stringToHtml )
@@ -155,8 +155,8 @@ inTemplate opts tit auths date toc body' newvars =
155155 , ("pagetitle", topTitle')
156156 , ("toc", renderHtmlFragment toc)
157157 , ("title", renderHtmlFragment tit)
158− , ("authors", intercalate "; " authors)
159− , ("date", date') ]
158+ , ("date", date') ] ++
159+ [ ("author", a) | a <- authors ]
160160 in renderTemplate context $ writerTemplate opts
161161
162162-- | Like Text.XHtml's identifier, but adds the writerIdentifierPrefix