hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

yt.html (564B)

    1 <div class="video-wrapper" data-streaming="youtube" data-videoid="{{.Get "id"}}" >
    2 	<i class="icon-video-play-button shortcode"></i>
    3 	{{if (.Get "thumbnail")}}
    4 	<div style="background-image:url(/images/thumbnails/{{.Get "thumbnail"}})" alt="YouTube Thumbnail" class="video-thumbnail"></div>
    5 	{{else}}
    6 	<div style="background-image:url(//img.youtube.com/vi/{{.Get "id"}}/0.jpg)" alt="YouTube Thumbnail" class="video-thumbnail"></div>
    7 	{{end}}
    8 </div>
    9 {{ if (.Get "description") }}
   10 <div class="video-description">{{ .Get "description" | markdownify }}</div>
   11 {{ end }}