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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-04-24 21:05:43 +0300
committerGitHub <noreply@github.com>2020-04-24 21:05:43 +0300
commit41a92c61661145cf2f1777a50bf7ee7a2a50cc60 (patch)
tree3d6baae2aaf68602e4c1c7a2313efbaa9ea2dd4f /exampleSite/content
parent7ab1c1063912eca9e3202446959f1526055ce5c9 (diff)
feat(style): simplify blockquote style and rm fa-fw for fontawesome syntax (#257)
Diffstat (limited to 'exampleSite/content')
-rw-r--r--exampleSite/content/about.en.md79
-rw-r--r--exampleSite/content/about.fr.md79
-rw-r--r--exampleSite/content/about.zh-cn.md79
-rw-r--r--exampleSite/content/posts/basic-markdown-syntax.en.md2
-rw-r--r--exampleSite/content/posts/basic-markdown-syntax.fr.md2
-rw-r--r--exampleSite/content/posts/basic-markdown-syntax.zh-cn.md2
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.en.md22
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.fr.md22
-rw-r--r--exampleSite/content/posts/theme-documentation-basics.zh-cn.md22
-rw-r--r--exampleSite/content/posts/theme-documentation-content.en.md10
-rw-r--r--exampleSite/content/posts/theme-documentation-content.fr.md10
-rw-r--r--exampleSite/content/posts/theme-documentation-content.zh-cn.md10
12 files changed, 177 insertions, 162 deletions
diff --git a/exampleSite/content/about.en.md b/exampleSite/content/about.en.md
index 1a559cc..fc672da 100644
--- a/exampleSite/content/about.en.md
+++ b/exampleSite/content/about.en.md
@@ -15,7 +15,7 @@ math:
[![GitHub stars](https://img.shields.io/github/stars/dillonzq/LoveIt?style=social)](https://github.com/dillonzq/LoveIt)
[![GitHub forks](https://img.shields.io/github/forks/dillonzq/LoveIt?style=social)](https://github.com/dillonzq/LoveIt/fork)
-[:(far fa-kiss-wink-heart): LoveIt](https://github.com/dillonzq/LoveIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Dillon](https://dillonzq.com).
+[:(far fa-kiss-wink-heart fa-fw): LoveIt](https://github.com/dillonzq/LoveIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Dillon](https://dillonzq.com).
It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) and [KeepIt Theme](https://github.com/liuzc/LeaveIt/).
@@ -25,55 +25,56 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a
#### Performance and SEO
-* :(fas fa-rocket): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights)
-* :(fab fa-searchengin): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
-* :(fab fa-google): **[Google Analytics](https://analytics.google.com/analytics)** supported
-* :(far fa-chart-bar): **[Fathom Analytics](https://usefathom.com/)** supported
-* :(fas fa-search): Search engine **verification** supported (Google, Bind, Yandex and Baidu)
-* :(fas fa-tachometer-alt): **CDN** for third-party libraries supported
-* :(fas fa-cloud-download-alt): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes)
+* :(fas fa-rocket fa-fw): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights)
+* :(fab fa-searchengin fa-fw): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
+* :(fab fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported
+* :(far fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported
+* :(fas fa-search fa-fw): Search engine **verification** supported (Google, Bind, Yandex and Baidu)
+* :(fas fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported
+* :(fas fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes)
#### Appearance and Layout
* [:(fas fa-desktop):]/[:(fas fa-mobile):] **Responsive** layout
* [:(fas fa-sun):]/[:(fas fa-moon):] **[Light]/[Dark]** mode
-* :(fas fa-layer-group): Globally consistent **design language**
-* :(fas fa-ellipsis-h): **Pagination** supported
-* :(far fa-list-alt): Easy-to-use and self-expanding **table of contents**
-* :(fas fa-language): **Multilanguage** supported and i18n ready
-* :(fab fa-css3-alt): Beautiful **CSS animation**
+* :(fas fa-layer-group fa-fw): Globally consistent **design language**
+* :(fas fa-ellipsis-h fa-fw): **Pagination** supported
+* :(far fa-list-alt fa-fw): Easy-to-use and self-expanding **table of contents**
+* :(fas fa-language fa-fw): **Multilanguage** supported and i18n ready
+* :(fab fa-css3-alt fa-fw): Beautiful **CSS animation**
#### Social and Comment Systems
-* :(far fa-user): **Gravatar** supported by [Gravatar](https://gravatar.com)
-* :(fas fa-user-circle): Local **Avatar** supported
-* :(far fa-id-card): Up to **64** social links supported
-* :(fas fa-share-square): Up to **28** share sites supported
-* :(far fa-comment): **Disqus** comment system supported by [Disqus](https://disqus.com)
-* :(far fa-comment-dots): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
-* :(far fa-comment-alt): **Valine** comment system supported by [Valine](https://valine.js.org/)
-* :(far fa-comments): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
-* :(fas fa-comments): **Telegram Comments** system supported by [Comments](https://comments.app/)
+* :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com)
+* :(fas fa-user-circle fa-fw): Local **Avatar** supported
+* :(far fa-id-card fa-fw): Up to **64** social links supported
+* :(fas fa-share-square fa-fw): Up to **28** share sites supported
+* :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
+* :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
+* :(far fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/)
+* :(far fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
+* :(fas fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/)
+* :(fas fa-comment-dots fa-fw): **Commento** comments system supported by [Commento](https://commento.io/)
#### Extended Features
-* :(fas fa-search): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/)
-* :(fas fa-code): Automatically **highlighting** code
-* :(far fa-copy): **Copy code** to clipboard with one click
-* :(far fa-images): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js)
-* :(fab fa-font-awesome): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
-* :(far fa-sticky-note): Extended Markdown syntax for **ruby annotation**
-* :(fas fa-percentage): Extended Markdown syntax for **fraction**
-* :(fas fa-square-root-alt): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/)
-* :(fas fa-project-diagram): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid)
-* :(fas fa-chart-pie): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
-* :(fas fa-map-marked-alt): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
-* :(fas fa-music): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
-* :(fas fa-video): **Bilibili player** shortcode
-* :(far fa-bell): Kinds of **admonitions** shortcode
-* :(fas fa-align-left): **Custom style** shortcode
-* :(fas fa-i-cursor): **Animated typing** supported by [TypeIt](https://typeitjs.com/)
-* :(fas fa-arrow-down): **Dynamic scroll** supported by [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
+* :(fas fa-search fa-fw): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/)
+* :(fas fa-code fa-fw): Automatically **highlighting** code
+* :(far fa-copy fa-fw): **Copy code** to clipboard with one click
+* :(far fa-images fa-fw): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js)
+* :(fab fa-font-awesome fa-fw): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
+* :(far fa-sticky-note fa-fw): Extended Markdown syntax for **ruby annotation**
+* :(fas fa-percentage fa-fw): Extended Markdown syntax for **fraction**
+* :(fas fa-square-root-alt fa-fw): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/)
+* :(fas fa-project-diagram fa-fw): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid)
+* :(fas fa-chart-pie fa-fw): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
+* :(fas fa-map-marked-alt fa-fw): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
+* :(fas fa-music fa-fw): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
+* :(fas fa-video fa-fw): **Bilibili player** shortcode
+* :(far fa-bell fa-fw): Kinds of **admonitions** shortcode
+* :(fas fa-align-left fa-fw): **Custom style** shortcode
+* :(fas fa-i-cursor fa-fw): **Animated typing** supported by [TypeIt](https://typeitjs.com/)
+* :(fas fa-arrow-down fa-fw): **Dynamic scroll** supported by [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
* ...
### License
diff --git a/exampleSite/content/about.fr.md b/exampleSite/content/about.fr.md
index 099cf16..4fc7459 100644
--- a/exampleSite/content/about.fr.md
+++ b/exampleSite/content/about.fr.md
@@ -20,7 +20,7 @@ Sorry, this article has not been completely translated into **French**.
Welcome to take the time to propose a translation by [making a PR](https://github.com/dillonzq/LoveIt/pulls) to the theme!
{{< /admonition >}}
-[:(far fa-kiss-wink-heart): LoveIt](https://github.com/dillonzq/LoveIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Dillon](https://dillonzq.com).
+[:(far fa-kiss-wink-heart fa-fw): LoveIt](https://github.com/dillonzq/LoveIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Dillon](https://dillonzq.com).
It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) and [KeepIt Theme](https://github.com/liuzc/LeaveIt/).
@@ -30,55 +30,56 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a
#### Performance and SEO
-* :(fas fa-rocket): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights)
-* :(fab fa-searchengin): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
-* :(fab fa-google): **[Google Analytics](https://analytics.google.com/analytics)** supported
-* :(far fa-chart-bar): **[Fathom Analytics](https://usefathom.com/)** supported
-* :(fas fa-search): Search engine **verification** supported (Google, Bind, Yandex and Baidu)
-* :(fas fa-tachometer-alt): **CDN** for third-party libraries supported
-* :(fas fa-cloud-download-alt): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes)
+* :(fas fa-rocket fa-fw): Optimized for **performance**: [99]/[100] on mobile and [100]/[100] on desktop in [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights)
+* :(fab fa-searchengin fa-fw): Optimized SEO performance with a correct **SEO SCHEMA** based on JSON-LD
+* :(fab fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported
+* :(far fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported
+* :(fas fa-search fa-fw): Search engine **verification** supported (Google, Bind, Yandex and Baidu)
+* :(fas fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported
+* :(fas fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes)
#### Appearance and Layout
* [:(fas fa-desktop):]/[:(fas fa-mobile):] **Responsive** layout
* [:(fas fa-sun):]/[:(fas fa-moon):] **[Light]/[Dark]** mode
-* :(fas fa-layer-group): Globally consistent **design language**
-* :(fas fa-ellipsis-h): **Pagination** supported
-* :(far fa-list-alt): Easy-to-use and self-expanding **table of contents**
-* :(fas fa-language): **Multilanguage** supported and i18n ready
-* :(fab fa-css3-alt): Beautiful **CSS animation**
+* :(fas fa-layer-group fa-fw): Globally consistent **design language**
+* :(fas fa-ellipsis-h fa-fw): **Pagination** supported
+* :(far fa-list-alt fa-fw): Easy-to-use and self-expanding **table of contents**
+* :(fas fa-language fa-fw): **Multilanguage** supported and i18n ready
+* :(fab fa-css3-alt fa-fw): Beautiful **CSS animation**
#### Social and Comment Systems
-* :(far fa-user): **Gravatar** supported by [Gravatar](https://gravatar.com)
-* :(fas fa-user-circle): Local **Avatar** supported
-* :(far fa-id-card): Up to **64** social links supported
-* :(fas fa-share-square): Up to **28** share sites supported
-* :(far fa-comment): **Disqus** comment system supported by [Disqus](https://disqus.com)
-* :(far fa-comment-dots): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
-* :(far fa-comment-alt): **Valine** comment system supported by [Valine](https://valine.js.org/)
-* :(far fa-comments): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
-* :(fas fa-comments): **Telegram Comments** system supported by [Comments](https://comments.app/)
+* :(far fa-user fa-fw): **Gravatar** supported by [Gravatar](https://gravatar.com)
+* :(fas fa-user-circle fa-fw): Local **Avatar** supported
+* :(far fa-id-card fa-fw): Up to **64** social links supported
+* :(fas fa-share-square fa-fw): Up to **28** share sites supported
+* :(far fa-comment fa-fw): **Disqus** comment system supported by [Disqus](https://disqus.com)
+* :(far fa-comment-dots fa-fw): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
+* :(far fa-comment-alt fa-fw): **Valine** comment system supported by [Valine](https://valine.js.org/)
+* :(far fa-comments fa-fw): **Facebook comments** system supported by [Facebook](https://developers.facebook.com/docs/plugins/comments/)
+* :(fas fa-comment fa-fw): **Telegram comments** system supported by [Comments](https://comments.app/)
+* :(fas fa-comment-dots fa-fw): **Commento** comments system supported by [Commento](https://commento.io/)
#### Extended Features
-* :(fas fa-search): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/)
-* :(fas fa-code): Automatically **highlighting** code
-* :(far fa-copy): **Copy code** to clipboard with one click
-* :(far fa-images): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js)
-* :(fab fa-font-awesome): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
-* :(far fa-sticky-note): Extended Markdown syntax for **ruby annotation**
-* :(fas fa-percentage): Extended Markdown syntax for **fraction**
-* :(fas fa-square-root-alt): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/)
-* :(fas fa-project-diagram): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid)
-* :(fas fa-chart-pie): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
-* :(fas fa-map-marked-alt): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
-* :(fas fa-music): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
-* :(fas fa-video): **Bilibili player** shortcode
-* :(far fa-bell): Kinds of **admonitions** shortcode
-* :(fas fa-align-left): **Custom style** shortcode
-* :(fas fa-i-cursor): **Animated typing** supported by [TypeIt](https://typeitjs.com/)
-* :(fas fa-arrow-down): **Dynamic scroll** supported by [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
+* :(fas fa-search fa-fw): **Search** supported by [Lunr.js](https://lunrjs.com/) or [algolia](https://www.algolia.com/)
+* :(fas fa-code fa-fw): Automatically **highlighting** code
+* :(far fa-copy fa-fw): **Copy code** to clipboard with one click
+* :(far fa-images fa-fw): **Images gallery** supported by [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js)
+* :(fab fa-font-awesome fa-fw): Extended Markdown syntax for **[Font Awesome](https://fontawesome.com/) icons**
+* :(far fa-sticky-note fa-fw): Extended Markdown syntax for **ruby annotation**
+* :(fas fa-percentage fa-fw): Extended Markdown syntax for **fraction**
+* :(fas fa-square-root-alt fa-fw): **Mathematical formula** supported by [$ \KaTeX $](https://katex.org/)
+* :(fas fa-project-diagram fa-fw): **Diagrams** shortcode supported by [mermaid](https://github.com/knsv/mermaid)
+* :(fas fa-chart-pie fa-fw): **Interactive data visualization** shortcode supported by [ECharts](https://echarts.apache.org/)
+* :(fas fa-map-marked-alt fa-fw): **Mapbox** shortcode supported by [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js)
+* :(fas fa-music fa-fw): **Music player** shortcode supported by [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS)
+* :(fas fa-video fa-fw): **Bilibili player** shortcode
+* :(far fa-bell fa-fw): Kinds of **admonitions** shortcode
+* :(fas fa-align-left fa-fw): **Custom style** shortcode
+* :(fas fa-i-cursor fa-fw): **Animated typing** supported by [TypeIt](https://typeitjs.com/)
+* :(fas fa-arrow-down fa-fw): **Dynamic scroll** supported by [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
* ...
### License
diff --git a/exampleSite/content/about.zh-cn.md b/exampleSite/content/about.zh-cn.md
index 2df1710..e27181d 100644
--- a/exampleSite/content/about.zh-cn.md
+++ b/exampleSite/content/about.zh-cn.md
@@ -15,7 +15,7 @@ math:
[![GitHub stars](https://img.shields.io/github/stars/dillonzq/LoveIt?style=social)](https://github.com/dillonzq/LoveIt)
[![GitHub forks](https://img.shields.io/github/forks/dillonzq/LoveIt?style=social)](https://github.com/dillonzq/LoveIt/fork)
-[:(far fa-kiss-wink-heart): LoveIt](https://github.com/dillonzq/LoveIt) 是一个由 [Dillon](https://dillonzq.com) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。
+[:(far fa-kiss-wink-heart fa-fw): LoveIt](https://github.com/dillonzq/LoveIt) 是一个由 [Dillon](https://dillonzq.com) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。
它的原型基于 [LeaveIt 主题](https://github.com/liuzc/LeaveIt/) 和 [KeepIt 主题](https://github.com/liuzc/LeaveIt/)。
@@ -25,55 +25,56 @@ math:
#### 性能和 SEO
-* :(fas fa-rocket): **性能**优化:在 [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) 中, [99]/[100] 的移动设备得分和 [100]/[100] 的桌面设备得分
-* :(fab fa-searchengin): 使用基于 JSON-LD 格式 的 **SEO SCHEMA** 文件进行 SEO 优化
-* :(fab fa-google): 支持 **[Google Analytics](https://analytics.google.com/analytics)**
-* :(far fa-chart-bar): 支持 **[Fathom Analytics](https://usefathom.com/)**
-* :(fas fa-search): 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu)
-* :(fas fa-tachometer-alt): 支持所有第三方库的 **CDN**
-* :(fas fa-cloud-download-alt): 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载**
+* :(fas fa-rocket fa-fw): **性能**优化:在 [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights) 中, [99]/[100] 的移动设备得分和 [100]/[100] 的桌面设备得分
+* :(fab fa-searchengin fa-fw): 使用基于 JSON-LD 格式 的 **SEO SCHEMA** 文件进行 SEO 优化
+* :(fab fa-google fa-fw): 支持 **[Google Analytics](https://analytics.google.com/analytics)**
+* :(far fa-chart-bar fa-fw): 支持 **[Fathom Analytics](https://usefathom.com/)**
+* :(fas fa-search fa-fw): 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu)
+* :(fas fa-tachometer-alt fa-fw): 支持所有第三方库的 **CDN**
+* :(fas fa-cloud-download-alt fa-fw): 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载**
#### 外观和布局
* [:(fas fa-desktop):]/[:(fas fa-mobile):] **响应式**布局
* [:(fas fa-sun):]/[:(fas fa-moon):] **[浅色]/[深色]** 主题模式
-* :(fas fa-layer-group): 全局一致的**设计语言**
-* :(fas fa-ellipsis-h): 支持**分页**
-* :(far fa-list-alt): 易用和自动展开的**文章目录**
-* :(fas fa-language): 支持**多语言**和国际化
-* :(fab fa-css3-alt): 美观的 **CSS 动画**
+* :(fas fa-layer-group fa-fw): 全局一致的**设计语言**
+* :(fas fa-ellipsis-h fa-fw): 支持**分页**
+* :(far fa-list-alt fa-fw): 易用和自动展开的**文章目录**
+* :(fas fa-language fa-fw): 支持**多语言**和国际化
+* :(fab fa-css3-alt fa-fw): 美观的 **CSS 动画**
#### 社交和评论系统
-* :(far fa-user): 支持 **[Gravatar](https://gravatar.com)** 头像
-* :(fas fa-user-circle): 支持本地**头像**
-* :(far fa-id-card): 支持多达 **64** 种社交链接
-* :(fas fa-share-square): 支持多达 **28** 种网站分享
-* :(far fa-comment): 支持 **[Disqus](https://disqus.com)** 评论系统
-* :(far fa-comment-dots): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
-* :(far fa-comment-alt): 支持 **[Valine](https://valine.js.org/)** 评论系统
-* :(far fa-comments): 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统
-* :(fas fa-comments): 支持 **[Telegram Comments](https://comments.app/) 评论**系统
+* :(far fa-user fa-fw): 支持 **[Gravatar](https://gravatar.com)** 头像
+* :(fas fa-user-circle fa-fw): 支持本地**头像**
+* :(far fa-id-card fa-fw): 支持多达 **64** 种社交链接
+* :(fas fa-share-square fa-fw): 支持多达 **28** 种网站分享
+* :(far fa-comment fa-fw): 支持 **[Disqus](https://disqus.com)** 评论系统
+* :(far fa-comment-dots fa-fw): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
+* :(far fa-comment-alt fa-fw): 支持 **[Valine](https://valine.js.org/)** 评论系统
+* :(far fa-comments fa-fw): 支持 **[Facebook](https://developers.facebook.com/docs/plugins/comments/) 评论**系统
+* :(fas fa-comment fa-fw): 支持 **[Telegram comments](https://comments.app/) 评论**系统
+* :(fas fa-comment-dots fa-fw): 支持 **[Commento](https://commento.io/)** 评论系统
#### 扩展功能
-* :(fas fa-search): 支持基于 [Lunr.js](https://lunrjs.com/) 或 [algolia](https://www.algolia.com/) 的**搜索**
-* :(fas fa-code): 支持**代码高亮**
-* :(far fa-copy): 一键**复制代码**到剪贴板
-* :(far fa-images): 支持基于 [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) 的**图片画廊**
-* :(fab fa-font-awesome): 支持 **[Font Awesome](https://fontawesome.com/) 图标**的扩展 Markdown 语法
-* :(far fa-sticky-note): 支持**上标注释**的扩展 Markdown 语法
-* :(fas fa-percentage): 支持**分数**的扩展 Markdown 语法
-* :(fas fa-square-root-alt): 支持基于 [$ \KaTeX $](https://katex.org/) 的**数学公式**
-* :(fas fa-project-diagram): 支持基于 [mermaid](https://github.com/knsv/mermaid) 的**图表** shortcode
-* :(fas fa-chart-pie): 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化** shortcode
-* :(fas fa-map-marked-alt): 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** shortcode
-* :(fas fa-music): 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的**音乐播放器** shortcode
-* :(fas fa-video): 支持 **Bilibili 视频** shortcode
-* :(far fa-bell): 支持多种**注释**的 shortcode
-* :(fas fa-align-left): 支持**自定义样式**的 shortcode
-* :(fas fa-i-cursor): 支持基于 [TypeIt](https://typeitjs.com/) 的**打字动画** shortcode
-* :(fas fa-arrow-down): 支持基于 [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll) 的**滚动动画**
+* :(fas fa-search fa-fw): 支持基于 [Lunr.js](https://lunrjs.com/) 或 [algolia](https://www.algolia.com/) 的**搜索**
+* :(fas fa-code fa-fw): 支持**代码高亮**
+* :(far fa-copy fa-fw): 一键**复制代码**到剪贴板
+* :(far fa-images fa-fw): 支持基于 [lightgallery.js](https://github.com/sachinchoolur/lightgallery.js) 的**图片画廊**
+* :(fab fa-font-awesome fa-fw): 支持 **[Font Awesome](https://fontawesome.com/) 图标**的扩展 Markdown 语法
+* :(far fa-sticky-note fa-fw): 支持**上标注释**的扩展 Markdown 语法
+* :(fas fa-percentage fa-fw): 支持**分数**的扩展 Markdown 语法
+* :(fas fa-square-root-alt fa-fw): 支持基于 [$ \KaTeX $](https://katex.org/) 的**数学公式**
+* :(fas fa-project-diagram fa-fw): 支持基于 [mermaid](https://github.com/knsv/mermaid) 的**图表** shortcode
+* :(fas fa-chart-pie fa-fw): 支持基于 [ECharts](https://echarts.apache.org/) 的**交互式数据可视化** shortcode
+* :(fas fa-map-marked-alt fa-fw): 支持基于 [Mapbox GL JS](https://docs.mapbox.com/mapbox-gl-js) 的 **Mapbox** shortcode
+* :(fas fa-music fa-fw): 支持基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 的**音乐播放器** shortcode
+* :(fas fa-video fa-fw): 支持 **Bilibili 视频** shortcode
+* :(far fa-bell fa-fw): 支持多种**注释**的 shortcode
+* :(fas fa-align-left fa-fw): 支持**自定义样式**的 shortcode
+* :(fas fa-i-cursor fa-fw): 支持基于 [TypeIt](https://typeitjs.com/) 的**打字动画** shortcode
+* :(fas fa-arrow-down fa-fw): 支持基于 [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll) 的**滚动动画**
* ...
### 许可协议
diff --git a/exampleSite/content/posts/basic-markdown-syntax.en.md b/exampleSite/content/posts/basic-markdown-syntax.en.md
index 9b4144f..0901b40 100644
--- a/exampleSite/content/posts/basic-markdown-syntax.en.md
+++ b/exampleSite/content/posts/basic-markdown-syntax.en.md
@@ -51,7 +51,7 @@ John Gruber, the author of Markdown, puts it like this:
Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like!
{{< admonition tip >}}
-:(far fa-bookmark): Bookmark this page for easy future reference!
+:(far fa-bookmark fa-fw): Bookmark this page for easy future reference!
{{< /admonition >}}
## 1 Headings
diff --git a/exampleSite/content/posts/basic-markdown-syntax.fr.md b/exampleSite/content/posts/basic-markdown-syntax.fr.md
index 4ae431f..dd8efb7 100644
--- a/exampleSite/content/posts/basic-markdown-syntax.fr.md
+++ b/exampleSite/content/posts/basic-markdown-syntax.fr.md
@@ -56,7 +56,7 @@ John Gruber, the author of Markdown, puts it like this:
Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like!
{{< admonition tip >}}
-:(far fa-bookmark): Bookmark this page for easy future reference!
+:(far fa-bookmark fa-fw): Bookmark this page for easy future reference!
{{< /admonition >}}
## 1 Headings
diff --git a/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md b/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md
index 4e99c76..834a639 100644
--- a/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md
+++ b/exampleSite/content/posts/basic-markdown-syntax.zh-cn.md
@@ -51,7 +51,7 @@ John Gruber, Markdown 的作者如是说:
话不多说, 我们来回顾一下 Markdown 的主要语法以及生成的 HTML 样式!
{{< admonition tip >}}
-:(far fa-bookmark): 将此页保存为书签,以备将来参考!
+:(far fa-bookmark fa-fw): 将此页保存为书签,以备将来参考!
{{< /admonition >}}
## 1 标题
diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md
index 6da3632..29947ee 100644
--- a/exampleSite/content/posts/theme-documentation-basics.en.md
+++ b/exampleSite/content/posts/theme-documentation-basics.en.md
@@ -26,7 +26,7 @@ Discover what the Hugo - **LoveIt** theme is all about and the core-concepts beh
Thanks to the simplicity of Hugo, [Hugo](https://gohugo.io/) is the only dependency of this theme.
-Just install latest version of [:(far fa-file-archive): Hugo extended (> 0.62.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**).
+Just install latest version of [:(far fa-file-archive fa-fw): Hugo extended (> 0.62.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**).
{{< admonition note "Why not support earlier versions of Hugo?" >}}
Since [Markdown Render Hooks](https://gohugo.io/getting-started/configuration-markup/#markdown-render-hooks) was introduced in the [Hugo Christmas Edition](https://gohugo.io/news/0.62.0-relnotes/), this theme only supports Hugo versions above **0.62.0**.
@@ -53,7 +53,7 @@ cd my_website
The **LoveIt** theme’s repository is: [https://github.com/dillonzq/LoveIt](https://github.com/dillonzq/LoveIt).
-You can download the [latest release :(far fa-file-archive): .zip file](https://github.com/dillonzq/LoveIt/releases) of the theme and extract it in the `themes` directory.
+You can download the [latest release :(far fa-file-archive fa-fw): .zip file](https://github.com/dillonzq/LoveIt/releases) of the theme and extract it in the `themes` directory.
Alternatively, clone this repository to the `themes` directory:
@@ -362,8 +362,6 @@ Note that some of these parameters are explained in details in other sections of
hiddenFromSearch = false
# whether to enable lightgallery
lightgallery = false
- # {{< version 0.2.0 >}} whether to show the copy button of the code block
- copyCode = true
# {{< version 0.2.0 >}} whether to enable the ruby extended syntax
ruby = true
# {{< version 0.2.0 >}} whether to enable the fraction extended syntax
@@ -391,6 +389,10 @@ Note that some of these parameters are explained in details in other sections of
copyTex = true
# KaTeX extension mhchem
mhchem = true
+ # {{< version 0.2.0 >}} Code config
+ [params.page.code]
+ # whether to show the copy button of the code block
+ copy = true
# {{< version 0.2.0 >}} {{< link "https://docs.mapbox.com/mapbox-gl-js" "Mapbox GL JS" >}} config
[params.page.mapbox]
# access token of Mapbox GL JS
@@ -485,7 +487,7 @@ Note that some of these parameters are explained in details in other sections of
outlined = false
# {{< version 0.2.0 >}} {{< link "https://commento.io/" "Commento" >}} comment config
[params.page.comment.commento]
- enable = true
+ enable = false
# {{< version 0.2.0 >}} SEO config
[params.page.seo]
# Publisher info
@@ -754,12 +756,12 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
| Language | Hugo Code | HTML `lang` Attribute | Theme Docs | Lunr.js Support |
|:------------------ |:---------:|:---------------------:|:-----------------------:|:-----------------------:|
-| English | `en` | `en` | :(far fa-check-square): | :(far fa-check-square): |
-| Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square): | :(far fa-check-square): |
-| French | `fr` | `fr` | :(far fa-square): | :(far fa-check-square): |
-| Polish | `pl` | `pl` | :(far fa-square): | :(far fa-square): |
+| English | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
+| Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
+| French | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
+| Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
-:(far fa-kiss-wink-heart): **Feel free to [contribute](https://github.com/dillonzq/LoveIt/pulls)!**
+:(far fa-kiss-wink-heart fa-fw): **Feel free to [contribute](https://github.com/dillonzq/LoveIt/pulls)!**
### 4.2 Basic Configuration
diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md
index ceff6f7..450c98a 100644
--- a/exampleSite/content/posts/theme-documentation-basics.fr.md
+++ b/exampleSite/content/posts/theme-documentation-basics.fr.md
@@ -31,7 +31,7 @@ Welcome to take the time to propose a translation by [making a PR](https://githu
Thanks to the simplicity of Hugo, [Hugo](https://gohugo.io/) is the only dependency of this theme.
-Just install latest version of [:(far fa-file-archive): Hugo extended (> 0.62.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**).
+Just install latest version of [:(far fa-file-archive fa-fw): Hugo extended (> 0.62.0)](https://gohugo.io/getting-started/installing/) for your OS (**Windows**, **Linux**, **macOS**).
{{< admonition note "Why not support earlier versions of Hugo?" >}}
Since [Markdown Render Hooks](https://gohugo.io/getting-started/configuration-markup/#markdown-render-hooks) was introduced in the [Hugo Christmas Edition](https://gohugo.io/news/0.62.0-relnotes/), this theme only supports Hugo versions above **0.62.0**.
@@ -58,7 +58,7 @@ cd my_website
The **LoveIt** theme’s repository is: [https://github.com/dillonzq/LoveIt](https://github.com/dillonzq/LoveIt).
-You can download the [latest release :(far fa-file-archive): .zip file](https://github.com/dillonzq/LoveIt/releases) of the theme and extract it in the `themes` directory.
+You can download the [latest release :(far fa-file-archive fa-fw): .zip file](https://github.com/dillonzq/LoveIt/releases) of the theme and extract it in the `themes` directory.
Alternatively, clone this repository to the `themes` directory:
@@ -367,8 +367,6 @@ Note that some of these parameters are explained in details in other sections of
hiddenFromSearch = false
# whether to enable lightgallery
lightgallery = false
- # {{< version 0.2.0 >}} whether to show the copy button of the code block
- copyCode = true
# {{< version 0.2.0 >}} whether to enable the ruby extended syntax
ruby = true
# {{< version 0.2.0 >}} whether to enable the fraction extended syntax
@@ -396,6 +394,10 @@ Note that some of these parameters are explained in details in other sections of
copyTex = true
# KaTeX extension mhchem
mhchem = true
+ # {{< version 0.2.0 >}} Code config
+ [params.page.code]
+ # whether to show the copy button of the code block
+ copy = true
# {{< version 0.2.0 >}} {{< link "https://docs.mapbox.com/mapbox-gl-js" "Mapbox GL JS" >}} config
[params.page.mapbox]
# access token of Mapbox GL JS
@@ -490,7 +492,7 @@ Note that some of these parameters are explained in details in other sections of
outlined = false
# {{< version 0.2.0 >}} {{< link "https://commento.io/" "Commento" >}} comment config
[params.page.comment.commento]
- enable = true
+ enable = false
# {{< version 0.2.0 >}} SEO config
[params.page.seo]
# Publisher info
@@ -759,12 +761,12 @@ In `config/css/_custom.scss`, you can add some css style code to customize the s
| Language | Hugo Code | HTML `lang` Attribute | Theme Docs | Lunr.js Support |
|:------------------ |:---------:|:---------------------:|:-----------------------:|:-----------------------:|
-| English | `en` | `en` | :(far fa-check-square): | :(far fa-check-square): |
-| Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square): | :(far fa-check-square): |
-| French | `fr` | `fr` | :(far fa-square): | :(far fa-check-square): |
-| Polish | `pl` | `pl` | :(far fa-square): | :(far fa-square): |
+| English | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
+| Simplified Chinese | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
+| French | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
+| Polish | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
-:(far fa-kiss-wink-heart): **Feel free to [contribute](https://github.com/dillonzq/LoveIt/pulls)!**
+:(far fa-kiss-wink-heart fa-fw): **Feel free to [contribute](https://github.com/dillonzq/LoveIt/pulls)!**
### 4.2 Basic Configuration
diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
index 4d31082..e51d1d1 100644
--- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
+++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
@@ -26,7 +26,7 @@ toc:
由于 Hugo 提供的便利性, [Hugo](https://gohugo.io/) 本身是这个主题唯一的依赖.
-直接安装满足你操作系统 (**Windows**, **Linux**, **macOS**) 的最新版本 [:(far fa-file-archive): Hugo extended (> 0.62.0)](https://gohugo.io/getting-started/installing/).
+直接安装满足你操作系统 (**Windows**, **Linux**, **macOS**) 的最新版本 [:(far fa-file-archive fa-fw): Hugo extended (> 0.62.0)](https://gohugo.io/getting-started/installing/).
{{< admonition note "为什么不支持早期版本的 Hugo?" >}}
由于 [Markdown 渲染钩子函数](https://gohugo.io/getting-started/configuration-markup/#markdown-render-hooks) 在 [Hugo 圣诞节版本](https://gohugo.io/news/0.62.0-relnotes/) 中被引入, 本主题只支持高于 **0.62.0** 的 Hugo 版本.
@@ -53,7 +53,7 @@ cd my_website
**LoveIt** 主题的仓库是: [https://github.com/dillonzq/LoveIt](https://github.com/dillonzq/LoveIt).
-你可以下载主题的 [最新版本 :(far fa-file-archive): .zip 文件](https://github.com/dillonzq/LoveIt/releases) 并且解压放到 `themes` 目录.
+你可以下载主题的 [最新版本 :(far fa-file-archive fa-fw): .zip 文件](https://github.com/dillonzq/LoveIt/releases) 并且解压放到 `themes` 目录.
另外, 也可以直接把这个主题克隆到 `themes` 目录:
@@ -365,8 +365,6 @@ hugo
hiddenFromSearch = false
# 是否在文章页面使用 lightgallery
lightgallery = true
- # {{< version 0.2.0 >}} 是否显示代码块的复制按钮
- copyCode = true
# {{< version 0.2.0 >}} 是否使用 ruby 扩展语法
ruby = true
# {{< version 0.2.0 >}} 是否使用 fraction 扩展语法
@@ -381,6 +379,10 @@ hugo
enable = true
# 是否使目录自动折叠展开
auto = true
+ # {{< version 0.2.0 >}} 代码配置
+ [params.page.code]
+ # 是否显示代码块的复制按钮
+ copy = true
# {{< version 0.2.0 changed >}} {{< link "https://katex.org/" KaTeX >}} 数学公式
[params.page.math]
enable = true
@@ -488,7 +490,7 @@ hugo
outlined = false
# {{< version 0.2.0 >}} {{< link "https://commento.io/" "Commento" >}} 评论系统设置
[params.page.comment.commento]
- enable = true
+ enable = false
# {{< version 0.2.0 >}} SEO config
[params.page.seo]
# 出版者信息
@@ -757,12 +759,12 @@ $code-font-family: Fira Mono, Source Code Pro, Menlo, Consolas, Monaco, monospac
| 语言 | Hugo 代码 | HTML `lang` 属性 | 主题文档 | Lunr.js 支持 |
|:---- |:----:|:----:|:----:|:----:|
-| 英语 | `en` | `en` | :(far fa-check-square): | :(far fa-check-square): |
-| 简体中文 | `zh-cn` | `zh-CN` | :(far fa-check-square): | :(far fa-check-square): |
-| 法语 | `fr` | `fr` | :(far fa-square): | :(far fa-check-square): |
-| 波兰语 | `pl` | `pl` | :(far fa-square): | :(far fa-square): |
+| 英语 | `en` | `en` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
+| 简体中文 | `zh-cn` | `zh-CN` | :(far fa-check-square fa-fw): | :(far fa-check-square fa-fw): |
+| 法语 | `fr` | `fr` | :(far fa-square fa-fw): | :(far fa-check-square fa-fw): |
+| 波兰语 | `pl` | `pl` | :(far fa-square fa-fw): | :(far fa-square fa-fw): |
-:(far fa-kiss-wink-heart): **请自由地[贡献代码](https://github.com/dillonzq/LoveIt/pulls)!**
+:(far fa-kiss-wink-heart fa-fw): **请自由地[贡献代码](https://github.com/dillonzq/LoveIt/pulls)!**
### 4.2 基本配置
diff --git a/exampleSite/content/posts/theme-documentation-content.en.md b/exampleSite/content/posts/theme-documentation-content.en.md
index 0fe2f62..fd6a584 100644
--- a/exampleSite/content/posts/theme-documentation-content.en.md
+++ b/exampleSite/content/posts/theme-documentation-content.en.md
@@ -63,7 +63,6 @@ featuredImagePreview: ""
hiddenFromHomePage: false
hiddenFromSearch: false
lightgallery: true
-copyCode: true
ruby: true
fraction: true
fontawesome: true
@@ -72,6 +71,9 @@ linkToMarkdown: true
toc:
enable: true
auto: true
+code:
+ copy: true
+ # ...
math:
enable: true
# ...
@@ -104,7 +106,6 @@ comment:
* **hiddenFromHomePage**: if `true`, the content will not be shown in the home page.
* **hiddenFromSearch**: {{< version 0.2.0 >}} if `true`, the content will not be shown in the search results.
-* **copyCode**: {{< version 0.2.0 >}} if `true`, the content will show the copy button of the code block.
* **lightgallery**: if `true`, images in the content will be shown as the gallery.
* **ruby**: {{< version 0.2.0 >}} if `true`, the content will enable the [ruby extended syntax](#ruby).
* **fraction**: {{< version 0.2.0 >}} if `true`, the content will enable the [fraction extended syntax](#fraction).
@@ -112,6 +113,7 @@ comment:
* **linkToMarkdown**: if `true`, the footer of the content will show the link to the orignal Markdown file.
* **toc**: {{< version 0.2.0 changed >}} the same as the `params.page.toc` part in the [site configuration](../theme-documentation-basics/#site-configuration).
+* **code**: {{< version 0.2.0 >}} the same as the `params.page.code` part in the [site configuration](../theme-documentation-basics/#site-configuration).
* **math**: {{< version 0.2.0 changed >}} the same as the `params.page.math` part in the [site configuration](../theme-documentation-basics/#site-configuration).
* **mapbox**: {{< version 0.2.0 >}} the same as the `params.page.mapbox` part in the [site configuration](../theme-documentation-basics/#site-configuration).
* **share**: the same as the `params.page.share` part in the [site configuration](../theme-documentation-basics/#site-configuration).
@@ -287,14 +289,14 @@ You can easily use these icons in your articles.
Get the `class` of icons you wanted from the [Font Awesome website](https://fontawesome.com/icons?d=gallery).
```markdown
-Gone camping! {?:}(fas fa-campground): Be back soon.
+Gone camping! {?:}(fas fa-campground fa-fw): Be back soon.
That is so funny! {?:}(far fa-grin-tears):
```
The rendered output looks like this:
-Gone camping! :(fas fa-campground): Be back soon.
+Gone camping! :(fas fa-campground fa-fw): Be back soon.
That is so funny! :(far fa-grin-tears):
diff --git a/exampleSite/content/posts/theme-documentation-content.fr.md b/exampleSite/content/posts/theme-documentation-content.fr.md
index d99d1dc..5d64243 100644
--- a/exampleSite/content/posts/theme-documentation-content.fr.md
+++ b/exampleSite/content/posts/theme-documentation-content.fr.md
@@ -68,7 +68,6 @@ featuredImagePreview: ""
hiddenFromHomePage: false
hiddenFromSearch: false
lightgallery: true
-copyCode: true
ruby: true
fraction: true
fontawesome: true
@@ -77,6 +76,9 @@ linkToMarkdown: true
toc:
enable: true
auto: true
+code:
+ copy: true
+ # ...
math:
enable: true
# ...
@@ -109,7 +111,6 @@ comment:
* **hiddenFromHomePage**: if `true`, the content will not be shown in the home page.
* **hiddenFromSearch**: {{< version 0.2.0 >}} if `true`, the content will not be shown in the search results.
-* **copyCode**: {{< version 0.2.0 >}} if `true`, the content will show the copy button of the code block.
* **lightgallery**: if `true`, images in the content will be shown as the gallery.
* **ruby**: {{< version 0.2.0 >}} if `true`, the content will enable the [ruby extended syntax](#ruby).
* **fraction**: {{< version 0.2.0 >}} if `true`, the content will enable the [fraction extended syntax](#fraction).
@@ -117,6 +118,7 @@ comment:
* **linkToMarkdown**: if `true`, the footer of the content will show the link to the orignal Markdown file.
* **toc**: {{< version 0.2.0 changed >}} the same as the `params.page.toc` part in the [site configuration](../theme-documentation-basics/#site-configuration).
+* **code**: {{< version 0.2.0 >}} the same as the `params.page.code` part in the [site configuration](../theme-documentation-basics/#site-configuration).
* **math**: {{< version 0.2.0 changed >}} the same as the `params.page.math` part in the [site configuration](../theme-documentation-basics/#site-configuration).
* **mapbox**: {{< version 0.2.0 >}} the same as the `params.page.mapbox` part in the [site configuration](../theme-documentation-basics/#site-configuration).
* **share**: the same as the `params.page.share` part in the [site configuration](../theme-documentation-basics/#site-configuration).
@@ -292,14 +294,14 @@ You can easily use these icons in your articles.
Get the `class` of icons you wanted from the [Font Awesome website](https://fontawesome.com/icons?d=gallery).
```markdown
-Gone camping! {?:}(fas fa-campground): Be back soon.
+Gone camping! {?:}(fas fa-campground fa-fw): Be back soon.
That is so funny! {?:}(far fa-grin-tears):
```
The rendered output looks like this:
-Gone camping! :(fas fa-campground): Be back soon.
+Gone camping! :(fas fa-campground fa-fw): Be back soon.
That is so funny! :(far fa-grin-tears):
diff --git a/exampleSite/content/posts/theme-documentation-content.zh-cn.md b/exampleSite/content/posts/theme-documentation-content.zh-cn.md
index aca01c7..d379b76 100644
--- a/exampleSite/content/posts/theme-documentation-content.zh-cn.md
+++ b/exampleSite/content/posts/theme-documentation-content.zh-cn.md
@@ -63,7 +63,6 @@ featuredImagePreview: ""
hiddenFromHomePage: false
hiddenFromSearch: false
lightgallery: true
-copyCode: true
ruby: true
fraction: true
fontawesome: true
@@ -72,6 +71,9 @@ linkToMarkdown: true
toc:
enable: true
auto: true
+code:
+ copy: true
+ # ...
math:
enable: true
# ...
@@ -104,7 +106,6 @@ comment:
* **hiddenFromHomePage**: 如果设为 `true`, 这篇文章将不会显示在主页上.
* **hiddenFromSearch**: {{< version 0.2.0 >}} 如果设为 `true`, 这篇文章将不会显示在搜索结果中.
-* **copyCode**: {{< version 0.2.0 >}} 如果设为 `true`, 这篇文章会显示代码块的复制按钮.
* **lightgallery**: 如果设为 `true`, 文章中的图片将可以按照画廊形式呈现.
* **ruby**: {{< version 0.2.0 >}} 如果设为 `true`, 这篇文章会使用 [上标注释扩展语法](#ruby).
* **fraction**: {{< version 0.2.0 >}} 如果设为 `true`, 这篇文章会使用 [分数扩展语法](#fraction).
@@ -112,6 +113,7 @@ comment:
* **linkToMarkdown**: 如果设为 `true`, 内容的页脚将显示指向原始 Markdown 文件的链接.
* **toc**: {{< version 0.2.0 changed >}} 和 [网站配置](../theme-documentation-basics/#site-configuration) 中的 `params.page.toc` 部分相同.
+* **code**: {{< version 0.2.0 >}} 和 [网站配置](../theme-documentation-basics/#site-configuration) 中的 `params.page.code` 部分相同.
* **math**: {{< version 0.2.0 changed >}} 和 [网站配置](../theme-documentation-basics/#site-configuration) 中的 `params.page.math` 部分相同.
* **mapbox**: {{< version 0.2.0 >}} 和 [网站配置](../theme-documentation-basics/#site-configuration) 中的 `params.page.mapbox` 部分相同.
* **share**: 和 [网站配置](../theme-documentation-basics/#site-configuration) 中的 `params.page.share` 部分相同.
@@ -287,14 +289,14 @@ $$ \ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-} $$
从 [Font Awesome 网站](https://fontawesome.com/icons?d=gallery) 上获取所需的图标 `class`.
```markdown
-去露营啦! {?:}(fas fa-campground): 很快就回来.
+去露营啦! {?:}(fas fa-campground fa-fw): 很快就回来.
真开心! {?:}(far fa-grin-tears):
```
呈现的输出效果如下:
-去露营啦! :(fas fa-campground): 很快就回来.
+去露营啦! :(fas fa-campground fa-fw): 很快就回来.
真开心! :(far fa-grin-tears):