html head include includes/head.pug body .Profile if tag .App-cover.NewCover.TagsCover(style='background-image: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 20%), url("/' + tag.background_hash + '.jpg");') .Cover-metadata h1.Cover-name= tag.display_name p.description= tag.description .Cover-stats .Cover-item-count #{tag.total_items} posts else if user .App-cover.NewCover.ProfileCover .ProfilePosts-posts .ProfilePosts-top each post in posts div.ProfilePost a.Post-item.novote(href="/gallery/"+post.id) .Post-item-container .Post-item-media if post.images && post.images[0].animated .PostVideo .PostVideo-video-wrapper video(playsinline autoplay loop mute) source(type="video/mp4" src=util.proxyURL(post.images[0].mp4)) else .imageContainer img(src=util.proxyURL(post.images ? post.images[0].link : post.link) loading="lazy") .Post-item-meta .Post-item-title-wrap .Post-item-title span= post.title .Post-item-info .Media div(class='Post-item-stat Post-item-vote' title='Upvotes') div(class='Vote Vote-up') svg(width='16', height='16', viewBox='0 0 16 16', fill='none', xmlns='http://www.w3.org/2000/svg') title Upvotes | .points= post.points div(class='Post-item-stat Post-item-vote' title='Downvotes') div(class='Vote Vote-down') svg(width='16', height='16', viewBox='0 0 16 16', fill='none', xmlns='http://www.w3.org/2000/svg') title Downvotes | .Media.Post-item-stat svg(width="16" height="16" viewBox="0 0 16 16" class="PostCommentsIcon" fill="none" xmlns="http://www.w3.org/2000/svg") title Comments | .MediaBody= post.comment_count .Media.Post-item-stat svg(width="16" height="16" viewBox="0 0 16 16" class="PostViewsIcon" fill="none" xmlns="http://www.w3.org/2000/svg") title Post views | .MediaBody= post.views