def page_authors_summary(page, config: dict):
    """
    A summary of the authors' contributions on a page level
    
    Args:
        page (Page): Page class
        config (dict): plugin's config dict
    
    Returns:
        str: HTML text with authors
    """

    authors = page.get_authors()
    authors_summary = []
    for author in authors:
        contrib = (
            " (%s)" % author.contribution(page.path(), str)
            if page.repo().config("show_contribution") and len(page.get_authors()) > 1
            else ""
        )
        authors_summary.append(
            "<a href='mailto:%s'>%s</a>%s" % (author.email(), author.name(), contrib)
        )
    authors_summary = ", ".join(authors_summary)
    return "<span class='git-page-authors git-authors'>%s</span>" % authors_summary