summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Renderable.hs
blob: 12aff5b834981f9fa5738d9be51331c3efa38e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Text.Hakyll.Renderable
    ( Renderable,
      toContext,
      getDependencies,
      getURL
    ) where

import System.FilePath
import Text.Template

class Renderable a where
    toContext :: a -> IO Context
    getDependencies :: a -> [FilePath]
    getURL :: a -> FilePath