change theme again :D

This commit is contained in:
naoufal zerai
2022-08-18 15:20:15 -04:00
parent dee5809c1a
commit 5dba10766d
287 changed files with 28330 additions and 1506 deletions

View File

@@ -0,0 +1,24 @@
<div class="video_wrapper" style="position: relative; padding-bottom: 75%;">
{{- $bvid := "" -}}
{{if .Get "id"}}
{{$bvid = .Get "id"}}
{{else if .Get 0}}
{{$bvid = .Get 0}}
{{end}}
{{if $bvid}}
<iframe
style="position: absolute; top: 0; left: 0;"
width="100%"
height="100%"
src="//player.bilibili.com/player.html?aid=123456&bvid={{ $bvid }}&cid=123456&page=1"
scrolling="no"
border="0"
frameborder="no"
framespacing="0"
allowfullscreen="true"
>
</iframe>
{{else}}
<h6>请填写视频 url 中的视频 id例如BV1FV411d7u7</h6>
{{end}}
</div>