This website works better with JavaScript.
首頁
探索
說明
登入
adrianshort
/
tumble
镜像来自
https://github.com/adrianshort/tumble.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Don't duplicate the video summary on the single template
master
Adrian Short
7 年之前
父節點
3d1a833089
當前提交
0c24098e8c
共有
3 個文件被更改
,包括
4 次插入
和
3 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
查看文件
@@ -0,0 +1 @@
<iframe width="100%" height="360" src="{{ . }}" frameborder="0" allowfullscreen></iframe>
+ 1
- 1
layouts/partials/video.html
查看文件
@@ -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
查看文件
@@ -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" . }}
Write
Preview
Loading…
取消
儲存