hakyll-2.4.2: A simple static site generator library.

Text.Hakyll.Page

Description

A module for dealing with Pages. This module is mostly internally used.

Synopsis

Documentation

data PageSection Source

A page is first parsed into a number of page sections. A page section consists of:

  • A key
  • A value
  • A Bool flag, indicating if the value is applicable for rendering

Constructors

PageSection 

Instances

readPage :: FilePath -> Hakyll [PageSection]Source

Read a page from a file. Metadata is supported.

readPageAction :: FilePath -> HakyllAction () [PageSection]Source

Read a page from a file. Metadata is supported.