hakyll-3.0.0.4: A simple static site generator library.
Hakyll.Web.FileType
Description
A module dealing with common 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