Skip to content

Commit 4d2f60a

Browse files
committed
chore: update video uploadig contribution guidelines
1 parent 4ae5442 commit 4d2f60a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

content/pages/contribution-guide/writing-content/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,9 @@ For example, a Mermaid diagram is used on [this page](../contrib-workflow "Contr
227227

228228
### Video
229229

230-
To embed a YouTube video in your article, use the [Hugo shortcode](https://gohugo.io/content-management/shortcodes/#youtube).
230+
To embed a video in your article, upload it to a video streaming platform such as YouTube and use the [YouTube shortcode](https://gohugo.io/content-management/shortcodes/#youtube) provided by Hugo to include it in your content. If you don't have your own YouTube channel, we can upload your video to ours.
231+
232+
If you give your consent and share the video file with us, we can also upload it to BiliBili to make it accessible in more geographic areas.
231233

232234

233235
## Use pre-commit
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{{ $id := .Get 0 }}
22
<p style="margin-top: 0.1em; margin-bottom: -1.5em; font-size: 0.9em; color: gray; text-align: right; margin-right: 0.3em;">
3-
(Also available on <a href="https://www.bilibili.com/video/{{ $id }}" target="_blank" rel="noopener">BiliBili</a>)
3+
(also available on <a href="https://www.bilibili.com/video/{{ $id }}" target="_blank" rel="noopener">BiliBili</a>)
44
</p>

0 commit comments

Comments
 (0)