diff options
author | Dillon <dillonzq@outlook.com> | 2020-04-22 12:50:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 12:50:30 +0300 |
commit | 3c38d54a87fcc844075c4ee8efc1ce1d85ac5117 (patch) | |
tree | f1afda359659fcc392b5dde916b09a17c2b09e0c /exampleSite/content | |
parent | a0ab272f7d22d1ca4dc9a6ceb467a1f6d8dcd8ae (diff) |
feat(home): add custom content for home page (#248)
Diffstat (limited to 'exampleSite/content')
-rw-r--r-- | exampleSite/content/about.en.md | 5 | ||||
-rw-r--r-- | exampleSite/content/about.fr.md | 5 | ||||
-rw-r--r-- | exampleSite/content/about.zh-cn.md | 3 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-basics.en.md | 21 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-basics.fr.md | 21 | ||||
-rw-r--r-- | exampleSite/content/posts/theme-documentation-basics.zh-cn.md | 21 |
6 files changed, 68 insertions, 8 deletions
diff --git a/exampleSite/content/about.en.md b/exampleSite/content/about.en.md index 17a22d4..cddee8f 100644 --- a/exampleSite/content/about.en.md +++ b/exampleSite/content/about.en.md @@ -26,7 +26,8 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a * :(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 +* :(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) @@ -76,7 +77,7 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a ### License -LoveIt is licensed under the MIT license. +LoveIt is licensed under the **MIT** license. Check the [LICENSE file](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) for details. diff --git a/exampleSite/content/about.fr.md b/exampleSite/content/about.fr.md index d1f6aa5..eb07386 100644 --- a/exampleSite/content/about.fr.md +++ b/exampleSite/content/about.fr.md @@ -31,7 +31,8 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a * :(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 +* :(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) @@ -81,7 +82,7 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a ### License -LoveIt is licensed under the MIT license. +LoveIt is licensed under the **MIT** license. Check the [LICENSE file](https://github.com/dillonzq/LoveIt/blob/master/LICENSE) for details. diff --git a/exampleSite/content/about.zh-cn.md b/exampleSite/content/about.zh-cn.md index 13ecde8..a18555c 100644 --- a/exampleSite/content/about.zh-cn.md +++ b/exampleSite/content/about.zh-cn.md @@ -27,6 +27,7 @@ lightgallery: true * :(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) 自动转换图片为**懒加载** @@ -76,7 +77,7 @@ lightgallery: true ### 许可协议 -LoveIt 根据 MIT 许可协议授权。 +LoveIt 根据 **MIT** 许可协议授权。 更多信息请查看 [LICENSE 文件](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)。 diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md index 4a6525a..4dc5da5 100644 --- a/exampleSite/content/posts/theme-documentation-basics.en.md +++ b/exampleSite/content/posts/theme-documentation-basics.en.md @@ -503,6 +503,22 @@ Note that some of these parameters are explained in details in other sections of pinterest = "" baidu = "" + # {{< version 0.2.0 >}} Analytics config + [params.analytics] + enable = false + # Google Analytics + [params.analytics.google] + id = "" + # whether to anonymize IP + anonymizeIP = true + # whether to use cookie + cookie = false + # Fathom Analytics + [params.analytics.fathom] + id = "" + # server url for your tracker if you're self hosting + server = "" + # CSS and JS Files CDN config [params.cdn] # {{< version 0.2.0 >}} {{< link "https://github.com/necolas/normalize.css" "normalize.css" >}}@8.0.1 @@ -605,8 +621,11 @@ Note that some of these parameters are explained in details in other sections of # {{< link "https://gohugo.io/about/hugo-and-gdpr/" "Privacy config" >}} [privacy] + # {{< version 0.2.0 deleted >}} privacy of the Google Analytics (replaced by params.analytics.google) [privacy.googleAnalytics] - anonymizeIP = true + # ... + [privacy.twitter] + enableDNT = true [privacy.youtube] privacyEnhanced = true diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md index 2fe53e0..8fcb6c4 100644 --- a/exampleSite/content/posts/theme-documentation-basics.fr.md +++ b/exampleSite/content/posts/theme-documentation-basics.fr.md @@ -508,6 +508,22 @@ Note that some of these parameters are explained in details in other sections of pinterest = "" baidu = "" + # {{< version 0.2.0 >}} Analytics config + [params.analytics] + enable = false + # Google Analytics + [params.analytics.google] + id = "" + # whether to anonymize IP + anonymizeIP = true + # whether to use cookie + cookie = false + # Fathom Analytics + [params.analytics.fathom] + id = "" + # server url for your tracker if you're self hosting + server = "" + # CSS and JS Files CDN config [params.cdn] # {{< version 0.2.0 >}} {{< link "https://github.com/necolas/normalize.css" "normalize.css" >}}@8.0.1 @@ -610,8 +626,11 @@ Note that some of these parameters are explained in details in other sections of # {{< link "https://gohugo.io/about/hugo-and-gdpr/" "Privacy config" >}} [privacy] + # {{< version 0.2.0 deleted >}} privacy of the Google Analytics (replaced by params.analytics.google) [privacy.googleAnalytics] - anonymizeIP = true + # ... + [privacy.twitter] + enableDNT = true [privacy.youtube] privacyEnhanced = true diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md index 31ad7e5..18cbb65 100644 --- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md @@ -506,6 +506,22 @@ hugo pinterest = "" baidu = "" + # {{< version 0.2.0 >}} 网站分析配置 + [params.analytics] + enable = false + # Google Analytics + [params.analytics.google] + id = "" + # 是否匿名化用户 IP + anonymizeIP = true + # 是否使用 cookie + cookie = false + # Fathom Analytics + [params.analytics.fathom] + id = "" + # 自行托管追踪器时的主机路径 + server = "" + # CSS 和 JS 文件的 CDN 设置 [params.cdn] # {{< version 0.2.0 >}} {{< link "https://github.com/necolas/normalize.css" "normalize.css" >}}@8.0.1 @@ -608,8 +624,11 @@ hugo # {{< link "https://gohugo.io/about/hugo-and-gdpr/" "隐私信息配置" >}} [privacy] + # {{< version 0.2.0 deleted >}} Google Analytics 相关隐私 (被 params.analytics.google 替代) [privacy.googleAnalytics] - anonymizeIP = true + # ... + [privacy.twitter] + enableDNT = true [privacy.youtube] privacyEnhanced = true |