switch back to LoveIt, other theme is deprectated

This commit is contained in:
Christoph Cullmann 2022-08-14 19:01:21 +02:00
parent 260b6803e7
commit 51fb029ca2
4260 changed files with 49552 additions and 87082 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

View file

@ -0,0 +1,65 @@
---
weight: 9
title: "Theme Documentation - bilibili Shortcode"
date: 2020-03-03T11:29:41+08:00
lastmod: 2020-03-03T12:29:41+08:00
draft: false
author: "Dillon"
authorLink: "https://dillonzq.com"
description: "The bilibili shortcode embeds a responsive video player for bilibili videos."
images: []
resources:
- name: "featured-image"
src: "featured-image.jpg"
tags: ["shortcodes"]
categories: ["documentation"]
hiddenFromHomePage: true
toc:
enable: false
---
{{< version 0.2.0 changed >}}
The `bilibili` shortcode embeds a responsive video player for bilibili videos.
<!--more-->
When the video only has one part, only the BV `id` of the video is required, e.g.:
```code
https://www.bilibili.com/video/BV1Sx411T7QQ
```
Example `bilibili` input:
```markdown
{{</* bilibili BV1Sx411T7QQ */>}}
Or
{{</* bilibili id=BV1Sx411T7QQ */>}}
```
The rendered output looks like this:
{{< bilibili id=BV1Sx411T7QQ >}}
When the video has multiple parts, in addition to the BV `id` of the video,
`p` is also required, whose default value is `1`, e.g.:
```code
https://www.bilibili.com/video/BV1TJ411C7An?p=3
```
Example `bilibili` input with `p`:
```markdown
{{</* bilibili BV1TJ411C7An 3 */>}}
Or
{{</* bilibili id=BV1TJ411C7An p=3 */>}}
```
The rendered output looks like this:
{{< bilibili id=BV1TJ411C7An p=3 >}}

View file

@ -0,0 +1,64 @@
---
weight: 9
title: "主题文档 - bilibili Shortcode"
date: 2020-03-03T11:29:41+08:00
lastmod: 2020-03-03T12:29:41+08:00
draft: false
author: "Dillon"
authorLink: "https://dillonzq.com"
description: "bilibili shortcode 提供了一个内嵌的用来播放 bilibili 视频的响应式播放器."
images: []
resources:
- name: "featured-image"
src: "featured-image.jpg"
tags: ["shortcodes"]
categories: ["documentation"]
hiddenFromHomePage: true
toc:
enable: false
---
{{< version 0.2.0 changed >}}
`bilibili` shortcode 提供了一个内嵌的用来播放 bilibili 视频的响应式播放器.
<!--more-->
如果视频只有一个部分, 则仅需要视频的 BV `id`, 例如:
```code
https://www.bilibili.com/video/BV1Sx411T7QQ
```
一个 `bilibili` 示例:
```markdown
{{</* bilibili BV1Sx411T7QQ */>}}
或者
{{</* bilibili id=BV1Sx411T7QQ */>}}
```
呈现的输出效果如下:
{{< bilibili id=BV1Sx411T7QQ >}}
如果视频包含多个部分, 则除了视频的 BV `id` 之外, 还需要 `p`, 默认值为 `1`, 例如:
```code
https://www.bilibili.com/video/BV1TJ411C7An?p=3
```
一个带有 `p` 参数的 `bilibili` 示例:
```markdown
{{</* bilibili BV1TJ411C7An 3 */>}}
或者
{{</* bilibili id=BV1TJ411C7An p=3 */>}}
```
呈现的输出效果如下:
{{< bilibili id=BV1TJ411C7An p=3 >}}