blob: 844670e8ade9d0bf138b57c0725f3e291362c51f [file] [log] [blame]
mixin powvideo(url, thumbname, title, videotitile, blacktitile="", isYouTube=true)
article.comvideo
.comvideo__box
if isYouTube
a.comvideo__screen(href=url, data-youtube)
span(class="comvideo__txt " + blacktitile) !{videotitile}
img(src=thumbname, alt="")
else
a.comvideo__screen(href=url, target="_blank")
span(class="comvideo__txt " + blacktitile) !{videotitile}
img(src=thumbname, alt="")
if title
.h4.pt-2.comvideo__title !{title}
.comvideo__descr.pt-1
block