hakyll-3.2.6.1: A static website compiler library

Safe HaskellSafe-Infered

Hakyll.Core.Resource

Description

Module exporting the simple Resource type

Synopsis

Documentation

newtype Resource Source

A resource

Constructors

Resource 

Fields

unResource :: String
 

fromIdentifier :: Identifier a -> ResourceSource

Create a resource from an identifier

toIdentifier :: Resource -> Identifier aSource

Map the resource to an identifier. Note that the group will not be set!