18 lines
578 B
Plaintext

component AMV(amv *arn.AMV, user *arn.User)
.amv.mountable
.video-container
video.video.lazy(controls="controls", controlsList="nodownload")
source(data-src="https://notify.moe/videos/amvs/" + amv.File, data-type="video/webm")
AMVFooter(amv, user)
component AMVFooter(amv *arn.AMV, user *arn.User)
.amv-footer
if amv.Title.ByUser(user) == ""
a(href=amv.Link() + "/edit") untitled
else
a(href=amv.Link())= amv.Title.ByUser(user)
span posted
span.utc-date(data-date=amv.Created)
span by
a(href=amv.Creator().Link())= amv.Creator().Nick + " "