Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
adrianshort
/
tumble
miroir de
https://github.com/adrianshort/tumble.git
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Versions
0
Wiki
Activité
Parcourir la source
Don't duplicate the video summary on the single template
master
Adrian Short
il y a 8 ans
Parent
3d1a833089
révision
0c24098e8c
3 fichiers modifiés
avec
4 ajouts
et
3 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+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
Voir le fichier
@@ -0,0 +1 @@
<iframe width="100%" height="360" src="{{ . }}" frameborder="0" allowfullscreen></iframe>
+ 1
- 1
layouts/partials/video.html
Voir le fichier
@@ -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
Voir le fichier
@@ -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" . }}
Écrire
Aperçu
Chargement…
Annuler
Enregistrer