hakyll-4.1.2.0: A static website compiler library

Safe HaskellNone

Hakyll.Web.Pandoc.FileType

Description

A module dealing with pandoc 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.

itemFileType :: Item a -> FileTypeSource

Get the file type for the current file