hakyll-4.6.0.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

Instances

Eq FileType 
Ord FileType 
Read FileType 
Show FileType 

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