|
|
|
|
|
|
417
|
</article>
|
417
|
</article>
|
|
418
|
`))
|
418
|
`))
|
|
419
|
|
419
|
|
|
420
|
var videoTmpl = template.Must(baseTmpl.Parse(`
|
|
|
|
|
|
420
|
var videoTmpl = template.Must(baseTmpl.New("video").Parse(`
|
|
421
|
<article id="{{ .Id }}" class="video">
|
421
|
<article id="{{ .Id }}" class="video">
|
|
422
|
{{- template "title" . }}
|
422
|
{{- template "title" . }}
|
|
423
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ .URL }}" frameborder="0" allowfullscreen></iframe>
|
423
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ .URL }}" frameborder="0" allowfullscreen></iframe>
|