Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
adrianshort
/
tumble
mirror da
https://github.com/adrianshort/tumble.git
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Don't duplicate the video summary on the single template
master
Adrian Short
6 anni fa
parent
3d1a833089
commit
0c24098e8c
3 ha cambiato i file
con
4 aggiunte
e
3 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+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
Vedi File
@@ -0,0 +1 @@
<iframe width="100%" height="360" src="{{ . }}" frameborder="0" allowfullscreen></iframe>
+ 1
- 1
layouts/partials/video.html
Vedi File
@@ -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
Vedi File
@@ -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" . }}
Scrivi
Anteprima
Caricamento…
Annulla
Salva