hakyll-4.2.1.0: A static website compiler library

Safe HaskellNone

Hakyll.Core.Identifier

Description

An identifier is a type used to uniquely identify an item. An identifier is conceptually similar to a file path. Examples of identifiers are:

  • posts/foo.markdown
  • index
  • error/404

Synopsis

Documentation

fromFilePath :: String -> IdentifierSource

Parse an identifier from a string

toFilePath :: Identifier -> FilePathSource

Convert an identifier to a relative FilePath