Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
yesod-core Yesod.Core.Widget Allows adding some CSS to the page with a specific media type. Since 1.2
-
yesod-core Yesod.Core.Widget A generic widget, allowing specification of both the subsite and master site datatypes. While this is simply a WriterT, we define a newtype for better error messages.
type
WidgetT site (m :: Type -> Type) = WidgetFor siteyesod-core Yesod.Core.Widget Deprecated: Use WidgetFor directly
asWidgetT :: forall site (m :: Type -> Type) . WidgetT site m () -> WidgetT site m ()yesod-core Yesod.Core.Widget No documentation available.
handlerToWidget :: HandlerFor site a -> WidgetFor site ayesod-core Yesod.Core.Widget No documentation available.
setDescriptionIdemp :: MonadWidget m => Text -> m ()yesod-core Yesod.Core.Widget Add description meta tag to the head of the page Google does not use the description tag as a ranking signal, but the contents of this tag will likely affect your click-through rate since it shows up in search results. The average length of the description shown in Google's search results is about 160 characters on desktop, and about 130 characters on mobile, at time of writing. Unlike setDescription, this version is *idempotent* - calling it multiple times will result in only a single description meta tag in the head. Source: https://www.advancedwebranking.com/blog/meta-tags-important-in-seo/
setDescriptionIdempI :: (MonadWidget m, RenderMessage (HandlerSite m) msg) => msg -> m ()yesod-core Yesod.Core.Widget Add translated description meta tag to the head of the page n.b. See comments for setDescriptionIdemp. Unlike setDescriptionI, this version is *idempotent* - calling it multiple times will result in only a single description meta tag in the head.
toWidget :: (ToWidget site a, MonadWidget m, HandlerSite m ~ site) => a -> m ()yesod-core Yesod.Core.Widget No documentation available.
toWidgetBody :: (ToWidgetBody site a, MonadWidget m, HandlerSite m ~ site) => a -> m ()yesod-core Yesod.Core.Widget No documentation available.
toWidgetHead :: (ToWidgetHead site a, MonadWidget m, HandlerSite m ~ site) => a -> m ()yesod-core Yesod.Core.Widget No documentation available.