Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zhaohuabing/hugo-theme-cleanwhite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuabing zhao <zhaohuabing@gmail.com>2020-11-13 04:59:09 +0300
committerhuabing zhao <zhaohuabing@gmail.com>2020-11-13 04:59:09 +0300
commit4d4d60cf824138ab3c2050cd302ba44e2110b121 (patch)
tree68cb2d89c55e098cfb52b02ea7ceb511f667cb38 /README.md
parent53351fdff54f38b9b25c2f3dfce9fd04bcf1c8d9 (diff)
Introduce Bilibili video
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7241004..d26ccff 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,9 @@ While I created this theme, I followed the Hugo theme best practice and tried to
**Mind Map**
![screenshot](https://raw.githubusercontent.com/zhaohuabing/hugo-theme-cleanwhite/master/images/mindmap.png)
+**Bilibili Video**
+![screenshot](https://raw.githubusercontent.com/zhaohuabing/hugo-theme-cleanwhite/master/images/bilibili.png)
+
## Quick Start
The simplest way is to start with the example site coming with this theme, then you can play around and add your own stuff.
@@ -184,6 +187,20 @@ Mind Map is supported with shortcode 'mind', instering the following code snippe
{{% /mind %}}
```
+### Embedded Videos
+
+Use the below hugo shortcodes to embed videos into your posts.
+
+Bilibili (B站)
+```
+{{< bilibili BV1kZ4y137gv >}}
+```
+
+Youtube
+```
+{{< youtube cllc1ZGlhsQ >}}
+```
+
## Thanks
Thanks for the great jobs of [huxblog Jekyll Theme](https://github.com/Huxpro/huxpro.github.io) and [Clean Blog Jekyll Theme](https://github.com/BlackrockDigital/startbootstrap-clean-blog-jekyll) which are the the two upstream projects CleanWhite Hugo theme is based on.