hakyll-3.1.2.3: A simple static site generator library.
Hakyll.Web.Pandoc.FileType
Description
A module dealing with pandoc file extensions and associated file types
Synopsis
data FileType Source
Datatype to represent the different file types Hakyll can deal with by default
Constructors
Instances
fileType :: FilePath -> FileTypeSource
Get the file type for a certain file. The type is determined by extension.
getFileType :: Compiler a FileTypeSource
Get the file type for the current file