mirror of https://github.com/tycrek/ass
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
695 B
26 lines
695 B
3 years ago
|
html
|
||
|
head
|
||
|
title!=title
|
||
|
include head
|
||
|
style: include css/font.css
|
||
|
style: include css/view.css
|
||
|
if color !== null
|
||
|
style: include css/img.css
|
||
|
style.
|
||
|
img, video { border-color: #{color}; }
|
||
|
body
|
||
|
#container
|
||
|
#content
|
||
|
h4!=title
|
||
|
figure
|
||
|
if isVideo
|
||
|
video#media(controls loop muted playsinline preload='metadata')&attributes(resourceAttr)
|
||
|
else
|
||
|
img#media(decoding='async')&attributes(resourceAttr)
|
||
|
figcaption
|
||
|
br
|
||
|
span Uploaded by #[strong!=uploader]
|
||
|
br
|
||
|
small #{timestamp} (#{size})
|
||
|
#footer: p Image hosted by #[a(href='https://github.com/tycrek/ass' target='_blank'): strong ass], the superior self-hosted ShareX server
|