|
|
@ -9,7 +9,7 @@ html
|
|
|
|
if color !== null
|
|
|
|
if color !== null
|
|
|
|
style: include css/img.css
|
|
|
|
style: include css/img.css
|
|
|
|
style.
|
|
|
|
style.
|
|
|
|
img, video { border-color: #{color}; }
|
|
|
|
img, video, audio { border-color: #{color}; }
|
|
|
|
|
|
|
|
|
|
|
|
// Open Graph (https://ogp.me/)
|
|
|
|
// Open Graph (https://ogp.me/)
|
|
|
|
meta(property='og:type' content=ogtype)
|
|
|
|
meta(property='og:type' content=ogtype)
|
|
|
@ -29,6 +29,8 @@ html
|
|
|
|
video#media(controls loop muted playsinline preload='metadata')&attributes(resourceAttr)
|
|
|
|
video#media(controls loop muted playsinline preload='metadata')&attributes(resourceAttr)
|
|
|
|
else if fileIs.image
|
|
|
|
else if fileIs.image
|
|
|
|
img#media(decoding='async')&attributes(resourceAttr)
|
|
|
|
img#media(decoding='async')&attributes(resourceAttr)
|
|
|
|
|
|
|
|
else if fileIs.audio
|
|
|
|
|
|
|
|
audio#media(controls loop preload='metadata')&attributes(resourceAttr)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
code!=title
|
|
|
|
code!=title
|
|
|
|
figcaption
|
|
|
|
figcaption
|
|
|
|