/upstream/templates/lists/snippet.tmpl
Type: /type/template
body: $def with (list)
<span class="imageLg">
    $ cover = list.get_cover() or list.get_default_cover()
    $ cover_url = cover and cover.url("S") or "/images/icons/avatar_book-sm.png"
    <a href="$list.key"><img src="$cover_url" height="58" alt="Cover of: $list.name" title="Cover of: $list"/></a>
</span>
<span class="details">
    <span class="resultTitle">
        <h3>
            <a href="$list.key" class="results"><b>$list.name</b></a> 
        </h3>
        <span class="editions">
            $len(list.seeds) seed$("s" if len(list.seeds) != 1 else "")
            $if list.last_update:
                | Last update $datestr(list.last_update)
        </span>
        <span class="detail">
            $if list.description:
                $:sanitize(format(list.description))
            $else:
                <em>No description.</em>
        </span>
    </span>
</span>
title: List snippet to display in user profile page
plugin: openlibrary