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.

  1. 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.

  2. 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.
    Source: https://ahrefs.com/blog/open-graph-meta-tags/

  3. 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

  4. 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

  5. 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

  6. setOf :: Ord a => Getting (Endo [a]) s a -> s -> Set a

    microlens-th Lens.Micro.TH.Internal

    No documentation available.

  7. setCookieDomain :: SetCookie -> Maybe ByteString

    cookie Web.Cookie

    The domain for which the cookie should be sent. Default value: Nothing (The browser defaults to the current domain).

  8. setCookieExpires :: SetCookie -> Maybe UTCTime

    cookie 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).

  9. setCookieHttpOnly :: SetCookie -> Bool

    cookie Web.Cookie

    Marks the cookie as "HTTP only", i.e. not accessible from Javascript. Default value: False

  10. setCookieMaxAge :: SetCookie -> Maybe DiffTime

    cookie 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).

Page 220 of many | Previous | Next