heist-0.10.0: src/Heist/Splices/Ignore.hs
module Heist.Splices.Ignore where
------------------------------------------------------------------------------
import Data.Text (Text)
------------------------------------------------------------------------------
import Heist.Interpreted.Internal
------------------------------------------------------------------------------
-- | Default name for the ignore splice.
ignoreTag :: Text
ignoreTag = "ignore"
------------------------------------------------------------------------------
-- | The ignore tag and everything it surrounds disappears in the
-- rendered output.
ignoreImpl :: Monad m => Splice m
ignoreImpl = return []