2019-08-17 17:16:09 +02:00
|
|
|
<div class="bilibili">
|
|
|
|
{{- if .IsNamedParams -}}
|
2020-04-18 14:54:54 +02:00
|
|
|
<iframe src="//player.bilibili.com/player.html?bvid={{ .Get `id` }}&page={{ .Get `p` | default 1 }}" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
|
2019-08-17 17:16:09 +02:00
|
|
|
{{- else -}}
|
2020-04-18 14:54:54 +02:00
|
|
|
<iframe src="//player.bilibili.com/player.html?bvid={{ .Get 0 }}&page={{ .Get 1 | default 1 }}" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
|
2019-08-17 17:16:09 +02:00
|
|
|
{{- end -}}
|
2020-02-06 17:10:00 +01:00
|
|
|
</div>
|