diff --git a/exampleSite/assets/images/Apple-Devices-Preview.png b/exampleSite/assets/images/Apple-Devices-Preview.png index ac7709b3..56c7280f 100644 Binary files a/exampleSite/assets/images/Apple-Devices-Preview.png and b/exampleSite/assets/images/Apple-Devices-Preview.png differ diff --git a/exampleSite/assets/images/screenshot.png b/exampleSite/assets/images/screenshot.png index 3fb6515f..169c06ed 100644 Binary files a/exampleSite/assets/images/screenshot.png and b/exampleSite/assets/images/screenshot.png differ diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 820b9ad9..ec57b450 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -427,6 +427,10 @@ enableEmoji = true Bilibili = "xxxx" Email = "xxxx@xxxx.com" RSS = true + # 盘古之白配置 since v0.2.12 + [languages.zh-cn.params.pangu] + # 适用于中文写作用户 + enable = true [params] # FixIt theme version @@ -792,7 +796,7 @@ enableEmoji = true [params.pangu] # For Chinese writing # 适用于中文写作用户 - enable = true + enable = false # Watermark config since v0.2.12 # Detail config see https://github.com/Lruihao/watermark#readme diff --git a/exampleSite/content/about/index.en.md b/exampleSite/content/about/index.en.md index 6d4b15fc..86198cd9 100644 --- a/exampleSite/content/about/index.en.md +++ b/exampleSite/content/about/index.en.md @@ -1,5 +1,5 @@ --- -title: "About LoveIt" +title: "About FixIt" date: 2019-08-02T11:04:49+08:00 draft: false @@ -10,18 +10,19 @@ math: --- {{< style "img { height: 1.25rem; }" >}} -[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases) +[![GitHub release (latest by date)](https://img.shields.io/github/v/release/Lruihao/FixIt?style=flat-square)](https://github.com/Lruihao/FixIt/releases) +[![GitHub commits since tagged version](https://img.shields.io/github/commits-since/Lruihao/FixIt/v0.2.10?style=flat-square)](https://github.com/Lruihao/FixIt/compare/v0.2.10...master) [![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/) -[![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) -[![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) +[![License](https://img.shields.io/github/license/Lruihao/FixIt?style=flat-square)](https://github.com/Lruihao/FixIt/blob/master/LICENSE) +[![GitHub stars](https://img.shields.io/github/stars/Lruihao/FixIt?style=social)](https://github.com/Lruihao/FixIt) +[![GitHub forks](https://img.shields.io/github/forks/Lruihao/FixIt?style=social)](https://github.com/Lruihao/FixIt/fork) {{< /style >}} -> [:(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). +> [ FixIt](https://github.com/Lruihao/FixIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Lruihao](https://lruihao.cn). > -> It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt) and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt). +> It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt), [LeaveIt Theme](https://github.com/liuzc/LeaveIt) and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt). -![Hugo Theme LoveIt](/images/Apple-Devices-Preview.png "Hugo Theme LoveIt") +![Hugo Theme FixIt](/images/Apple-Devices-Preview.png "Hugo Theme FixIt") ### Features @@ -79,15 +80,18 @@ math: * :(fas fa-align-left fa-fw): **Custom style** shortcode * :(fab fa-js-square fa-fw): **Custom script** 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) * :(fas fa-cookie-bite fa-fw): **Cookie consent banner** supported by [cookieconsent](https://github.com/osano/cookieconsent) +* :(fas fa-signature fa-fw): **Web Watermark** supported by [Watermark](https://github.com/Lruihao/watermark) +* :(fas fa-language fa-fw): **Chinese typesetting** supported by [pangu.js](https://github.com/vinta/pangu.js) +* :(fas fa-link fa-fw): **Card type** link shortcode +* :(fas fa-users fa-fw): **friends** page template * ... ### License -LoveIt is licensed under the **MIT** license. +FixIt is licensed under the **MIT** license. -Check the [LICENSE file](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) for details. +Check the [LICENSE file](https://github.com/Lruihao/FixIt/blob/master/LICENSE) for details. Thanks to the authors of following resources included in the theme: @@ -95,7 +99,6 @@ Thanks to the authors of following resources included in the theme: * [Font Awesome](https://fontawesome.com/) * [Simple Icons](https://github.com/simple-icons/simple-icons) * [Animate.css](https://daneden.github.io/animate.css/) -* [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll) * [autocomplete.js](https://github.com/algolia/autocomplete.js) * [Lunr.js](https://lunrjs.com/) * [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) @@ -115,3 +118,5 @@ Thanks to the authors of following resources included in the theme: * [Gitalk](https://github.com/gitalk/gitalk) * [Valine](https://valine.js.org/) * [cookieconsent](https://github.com/osano/cookieconsent) +* [Watermark](https://github.com/Lruihao/watermark) +* [pangu.js](https://github.com/vinta/pangu.js) \ No newline at end of file diff --git a/exampleSite/content/about/index.zh-cn.md b/exampleSite/content/about/index.zh-cn.md index 6a830a6b..08ac2e6b 100644 --- a/exampleSite/content/about/index.zh-cn.md +++ b/exampleSite/content/about/index.zh-cn.md @@ -1,5 +1,5 @@ --- -title: "关于 LoveIt" +title: "关于 FixIt" date: 2019-08-02T11:04:49+08:00 draft: false @@ -10,18 +10,19 @@ math: --- {{< style "img { height: 1.25rem; }" >}} -[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases) +[![GitHub release (latest by date)](https://img.shields.io/github/v/release/Lruihao/FixIt?style=flat-square)](https://github.com/Lruihao/FixIt/releases) +[![GitHub commits since tagged version](https://img.shields.io/github/commits-since/Lruihao/FixIt/v0.2.10?style=flat-square)](https://github.com/Lruihao/FixIt/compare/v0.2.10...master) [![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/) -[![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) -[![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) +[![License](https://img.shields.io/github/license/Lruihao/FixIt?style=flat-square)](https://github.com/Lruihao/FixIt/blob/master/LICENSE) +[![GitHub stars](https://img.shields.io/github/stars/Lruihao/FixIt?style=social)](https://github.com/Lruihao/FixIt) +[![GitHub forks](https://img.shields.io/github/forks/Lruihao/FixIt?style=social)](https://github.com/Lruihao/FixIt/fork) {{< /style >}} -> [:(far fa-kiss-wink-heart fa-fw): LoveIt](https://github.com/dillonzq/LoveIt) 是一个由 [Dillon](https://dillonzq.com) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。 +> [ FixIt](https://github.com/Lruihao/FixIt) 是一个由 [Lruihao](https://lruihao.cn) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。 > -> 它的原型基于 [LeaveIt 主题](https://github.com/liuzc/LeaveIt) 和 [KeepIt 主题](https://github.com/Fastbyte01/KeepIt)。 +> 它的原型基于 [LoveIt 主题](https://github.com/dillonzq/LoveIt),[LeaveIt 主题](https://github.com/liuzc/LeaveIt) 和 [KeepIt 主题](https://github.com/Fastbyte01/KeepIt)。 -![Hugo 主题 LoveIt](/images/Apple-Devices-Preview.png "Hugo 主题 LoveIt") +![Hugo 主题 FixIt](/images/Apple-Devices-Preview.png "Hugo 主题 FixIt") ### 特性 @@ -79,23 +80,25 @@ math: * :(fas fa-align-left fa-fw): 支持**自定义样式**的 shortcode * :(fab fa-js-square 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) 的**滚动动画** * :(fas fa-cookie-bite fa-fw): 支持基于 [cookieconsent](https://github.com/osano/cookieconsent) 的 **Cookie 许可横幅** +* :(fas fa-signature fa-fw): 支持基于 [Watermark](https://github.com/Lruihao/watermark) 的**网页水印** +* :(fas fa-language fa-fw): 支持基于 [pangu.js](https://github.com/vinta/pangu.js) 的**中文排版** +* :(fas fa-link fa-fw): 支持**卡片式链接**的 shortcode +* :(fas fa-users fa-fw): 支持**友情链接**的页面模板 * ... ### 许可协议 -LoveIt 根据 **MIT** 许可协议授权。 +FixIt 根据 **MIT** 许可协议授权。 -更多信息请查看 [LICENSE 文件](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)。 +更多信息请查看 [LICENSE 文件](https://github.com/Lruihao/FixIt/blob/master/LICENSE)。 -LoveIt 主题中用到了以下项目,感谢它们的作者: +FixIt 主题中用到了以下项目,感谢它们的作者: * [normalize.css](https://github.com/necolas/normalize.css) * [Font Awesome](https://fontawesome.com/) * [Simple Icons](https://github.com/simple-icons/simple-icons) * [Animate.css](https://daneden.github.io/animate.css/) -* [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll) * [autocomplete.js](https://github.com/algolia/autocomplete.js) * [Lunr.js](https://lunrjs.com/) * [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) @@ -115,3 +118,5 @@ LoveIt 主题中用到了以下项目,感谢它们的作者: * [Gitalk](https://github.com/gitalk/gitalk) * [Valine](https://valine.js.org/) * [cookieconsent](https://github.com/osano/cookieconsent) +* [Watermark](https://github.com/Lruihao/watermark) +* [pangu.js](https://github.com/vinta/pangu.js) diff --git a/exampleSite/static/_redirects b/exampleSite/static/_redirects index 715fccc7..8e04d280 100644 --- a/exampleSite/static/_redirects +++ b/exampleSite/static/_redirects @@ -1,2 +1 @@ /zh-cn/* /zh-cn/404.html 404 -/fr/* /fr/404.html 404