mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-11 17:31:12 +01:00
7 lines
481 B
HTML
7 lines
481 B
HTML
<div class="bilibili">
|
|
{{- if .IsNamedParams -}}
|
|
<iframe src="//player.bilibili.com/player.html?aid={{ .Get "aid" }}&cid={{ .Get "cid" }}&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
|
|
{{- else -}}
|
|
<iframe src="//player.bilibili.com/player.html?aid={{ .Get 0 }}&cid={{ .Get 1 }}&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
|
|
{{- end -}}
|
|
</div>
|