neuron-0.2.0.0: Haskell meets Zettelkasten, for your plain-text delight.
Safe HaskellNone
LanguageHaskell2010

Neuron.Zettelkasten.Route

Description

Zettel site's routes

Synopsis

Documentation

data Route store graph a where Source #

Instances

Instances details
IsRoute (Route store graph) Source # 
Instance details

Defined in Neuron.Zettelkasten.Route

Methods

routeFile :: MonadThrow m => Route store graph a -> m (Path Rel File) #

routeName :: Route store graph a -> Text Source #

Return short name corresponding to the route

routeTitle :: Config -> store -> Route store graph a -> Text Source #

Return full title for a route

routeTitle' :: store -> Route store graph a -> Text Source #

Return the title for a route

routeOpenGraph :: Config -> store -> Route store graph a -> OpenGraph Source #