Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setDescription :: MonadWidget m => Text -> m ()

    yesod-core Yesod.Core.Widget

    Warning: setDescription is not idempotent; we recommend setDescriptionIdemp insteadMultiple calls to setDescription will insert multiple meta tags in the page head.If you want an idempotent function, use setDescriptionIdemp - but if you do, you may need to change your layout to include pageDescription.

  2. setDescriptionI :: (MonadWidget m, RenderMessage (HandlerSite m) msg) => msg -> m ()

    yesod-core Yesod.Core.Widget

    Warning: setDescriptionI is not idempotent; we recommend setDescriptionIdempI insteadMultiple calls to setDescriptionI will insert multiple meta tags in the page head.If you want an idempotent function, use setDescriptionIdempI - but if you do, you may need to change your layout to include pageDescription.

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

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

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

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

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

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

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

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

Page 205 of many | Previous | Next