Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
setOGImage :: MonadWidget m => Text -> m ()yesod-core Yesod.Core.Widget Add OpenGraph image meta tag to the head of the page Best practices:
- Use custom images for shareable pages, e.g., homepage, articles, etc.
- Use your logo or any other branded image for the rest of your pages.
- Use images with a 1.91:1 ratio and minimum recommended dimensions of 1200x630 for optimal clarity across all devices.
setOGType :: MonadWidget m => Text -> m ()yesod-core Yesod.Core.Widget Add OpenGraph type meta tag to the head of the page See all available OG types here: https://ogp.me/#types
setTitle :: MonadWidget m => Html -> m ()yesod-core Yesod.Core.Widget Set the page title. Calling setTitle or setTitleI multiple times overrides previously set values. SEO Notes:
- Title tags are the second most important on-page factor for SEO, after content
- Every page should have a unique title tag
- Start your title tag with your main targeted keyword
- Don't stuff your keywords
- Google typically shows 55-64 characters, so aim to keep your title length under 60 characters
setTitleI :: (MonadWidget m, RenderMessage (HandlerSite m) msg) => msg -> m ()yesod-core Yesod.Core.Widget Set the localised page title. n.b. See comments for setTitle
setOf :: Ord a => Getting (Endo [a]) s a -> s -> Set amicrolens-th Lens.Micro.TH.Internal No documentation available.
setCookieDomain :: SetCookie -> Maybe ByteStringcookie Web.Cookie The domain for which the cookie should be sent. Default value: Nothing (The browser defaults to the current domain).
setCookieExpires :: SetCookie -> Maybe UTCTimecookie Web.Cookie The time at which to expire the cookie. Default value: Nothing (The browser will default to expiring a cookie when the browser is closed).
setCookieHttpOnly :: SetCookie -> Boolcookie Web.Cookie Marks the cookie as "HTTP only", i.e. not accessible from Javascript. Default value: False
setCookieMaxAge :: SetCookie -> Maybe DiffTimecookie Web.Cookie The maximum time to keep the cookie, in seconds. Default value: Nothing (The browser defaults to expiring a cookie when the browser is closed).