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 []