@@ -242,7 +242,10 @@ writeEPUB opts doc@(Pandoc meta _) = do
242242 Nothing -> []
243243 Just _ -> [ unode "itemref" !
244244 [("idref", "cover"),("linear","no")] $ () ]
245− ++ ((unode "itemref" ! [("idref", "title_page"),("linear","yes")] $ ()) :
245+ ++ ((unode "itemref" ! [("idref", "title_page")
246+ ,("linear", case meta of
247+ Meta [] [] [] -> "no"
248+ _ -> "yes")] $ ()) :
246249 (unode "itemref" ! [("idref", "nav")
247250 ,("linear", if writerTableOfContents opts
248251 then "yes"