Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
Help
Inloggen
adrianshort
/
tumble
kopie van
https://github.com/adrianshort/tumble.git
Volgen
1
Ster
0
Vork
0
Code
Kwesties
0
Publicaties
0
Wiki
Activiteit
Bladeren bron
Don't duplicate the video summary on the single template
master
Adrian Short
8 jaren geleden
bovenliggende
3d1a833089
commit
0c24098e8c
3 gewijzigde bestanden
met
toevoegingen van 4
en
3 verwijderingen
Zij-aan-zij weergave
Diff opties
Statistieken weergeven
Download Patch-bestand
Download Diff-bestand
+1
-0
layouts/partials/video-embed.html
+1
-1
layouts/partials/video.html
+2
-2
layouts/video/single.html
+ 1
- 0
layouts/partials/video-embed.html
Bestand weergeven
@@ -0,0 +1 @@
<iframe width="100%" height="360" src="{{ . }}" frameborder="0" allowfullscreen></iframe>
+ 1
- 1
layouts/partials/video.html
Bestand weergeven
@@ -1,2 +1,2 @@
<iframe width="100%" height="360" src="{{ .Params.embed_url }}" frameborder="0" allowfullscreen></iframe>
{{ partial "video-embed" .Params.embed_url }}
{{ .Summary }}
+ 2
- 2
layouts/video/single.html
Bestand weergeven
@@ -1,6 +1,6 @@
{{ partial "header" . }}
<style>body { background-color: black; color: white; }</style>
{{ partial "video" . }}
{{ partial "video
-embed
" .
Params.embed_url
}}
{{ .Content }}
{{ partial "postmeta" . }}
{{ partial "footer" . }}
{{ partial "footer" . }}
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan