hakyll-3.0.0.3: A simple static site generator library.

Hakyll.Web.FileType

Description

A module dealing with common file extensions and associated file types.

Synopsis

Documentation

data FileType Source

Datatype to represent the different file types Hakyll can deal with by default

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