Function posts

Handler for paginated access to blog posts.

Methods

  • Creates the thumbnail url of a post.

    Parameters

    • source: BasePostEntry

      The post source.

    • size: number | ImageSize<number>

      The size of the thumbnail.

    • Optionalratio: string | number

      The ratio of the thumbnail.

    Returns string

    The thumbnail url.