From 231964080b26b3b3cab91b2c6144a784d3bef99d Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Sun, 14 Jun 2020 00:06:35 +0800 Subject: In-post APlayer now support multiple files --- README_CN.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'README_CN.md') diff --git a/README_CN.md b/README_CN.md index 6f2ed65..17fe0c0 100644 --- a/README_CN.md +++ b/README_CN.md @@ -88,10 +88,16 @@ showToc = false 支持给文章单独添加 APlayer,在 front matter 里加上这些: ```toml -playerName = "..." # 标题 -playerArtist = "..." # 作者 -playerURL = "..." # URL -playerCover = "..." # 封面 +[[player]] + playerName = "..." # 标题 + playerArtist = "..." # 作者 + playerURL = "..." # URL + playerCover = "..." # 封面 +[[player]] + playerName = "..." + playerArtist = "..." + playerURL = "..." + playerCover = "..." ``` ### 📷 图片放大的设置和 lazyload -- cgit v1.2.3 From 5c68750e0cd265464aa55b1f1d89e54f7e71ccc0 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 18 Jun 2020 14:17:51 +0800 Subject: Optimize toc & license settings logic --- README_CN.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'README_CN.md') diff --git a/README_CN.md b/README_CN.md index 17fe0c0..75d1c86 100644 --- a/README_CN.md +++ b/README_CN.md @@ -18,7 +18,7 @@ - [🆕 更新主题](#-更新主题) - [⚙️ 自定义设置](#%EF%B8%8F-自定义设置) - [🎨 站点图标](#-站点图标) - - [❌ 关闭 License、评论区和目录](#-关闭-license评论区和目录) + - [❌ License、目录和评论区](#-license目录和评论区) - [🎵 文章音乐](#-文章音乐) - [📷 图片放大的设置和 lazyload](#-图片放大的设置和-lazyload) - [⚓ Markdown 钩子](#-markdown-钩子) @@ -30,7 +30,7 @@ ## 💻 在线 Demo -[**在线 Demo - Vercel (英文)**](https://hugo-theme-fuji-demo.now.sh/) | [我的博客 - Coding (中文)](https://blog.amzrk2.cc/) +[**在线 Demo (英文)**](https://hugo-theme-fuji-demo.now.sh/) | [我的博客 (中文)](https://blog.amzrk2.cc/) ![Fuji 截图](https://raw.githubusercontent.com/amzrk2/hugo-theme-fuji/master/images/screenshot.png) @@ -66,21 +66,26 @@ $ git submodule update --remote --merge 可以在 [realfavicongenerator.net](https://realfavicongenerator.net/) 快速创建自己的图标。 -### ❌ 关闭 License、评论区和目录 +### ❌ License、目录和评论区 -在 front matter 里加上这些: +在全局的 `config.toml` 里设置: ```toml -noLicense = true # 憋显示 License -noComments = true # 憋显示评论区 -noToc = true # 憋显示目录 +showLicense = true # 对所有文章开关 License 显示 +showToc = true # 对所有文章开关目录显示 ``` -你也可以全局关闭这些内容的显示,在 `config.toml` 把下面这些设置为 false 或注释掉: +在特定文章的 front matter 里设置: ```toml -showLicense = false -showToc = false +showLicense = true # 对这篇文章开关 License 显示 +showToc = true # 对这篇文章开关目录显示 +``` + +除此之外你也可以关闭特定文章的评论: + +```toml +noComments = true # 对这篇文章关闭评论 ``` ### 🎵 文章音乐 -- cgit v1.2.3 From f11691355ae9bd4dddf1f0ee3621d9064aaace6e Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 18 Jun 2020 14:29:11 +0800 Subject: Optimize comment area setting logic --- README_CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README_CN.md') diff --git a/README_CN.md b/README_CN.md index 75d1c86..f3e082c 100644 --- a/README_CN.md +++ b/README_CN.md @@ -85,7 +85,7 @@ showToc = true # 对这篇文章开关目录显示 除此之外你也可以关闭特定文章的评论: ```toml -noComments = true # 对这篇文章关闭评论 +showComments = false # 对这篇文章关闭评论 ``` ### 🎵 文章音乐 -- cgit v1.2.3 From edbbfabae66d75217a95e3e0a054548502ebf2d9 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 18 Jun 2020 17:20:50 +0800 Subject: Update metadata --- README_CN.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README_CN.md') diff --git a/README_CN.md b/README_CN.md index f3e082c..fbf34c5 100644 --- a/README_CN.md +++ b/README_CN.md @@ -223,9 +223,11 @@ The theme is released under the ```Apache License 2.0```, for more information r - [Primer CSS - MIT](https://github.com/primer/css/blob/master/LICENSE) - [APlayer - MIT](https://github.com/MoePlayer/APlayer/blob/master/LICENSE) - [lazysizes - MIT](https://github.com/aFarkas/lazysizes/blob/gh-pages/LICENSE) -- [medium-zoom - MIT](https://github.com/francoischalifour/medium-zoom/blob/master/LICENSE) - [DisqusJS - MIT](https://github.com/SukkaW/DisqusJS/blob/master/LICENSE) - [ionicons - MIT](https://github.com/ionic-team/ionicons/blob/master/LICENSE) +- [Fuse.js - Apache-2.0](https://github.com/krisk/Fuse/blob/master/LICENSE) +- [cloudflare-workers-async-google-analytics - MIT](https://github.com/SukkaW/cloudflare-workers-async-google-analytics/blob/master/LICENSE) +- [art-template - MIT](https://github.com/aui/art-template/blob/master/LICENSE) > © 2020 DSRKafuU(amzrk2) [Twitter @amzrk2](https://twitter.com/amzrk2) [GitHub @amzrk2](https://github.com/amzrk2) -- cgit v1.2.3