mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
docs: config.toml -> hugo.toml
This commit is contained in:
@@ -27,12 +27,12 @@ To enable Fathom Analytics support, simply provide your Fathom site code in the
|
||||
|
||||
### Google Analytics
|
||||
|
||||
Google Analytics support is provided through the internal Hugo partial. Simply provide the `googleAnalytics` key in the `config/_default/config.toml` file and the script will be added automatically.
|
||||
Google Analytics support is provided through the internal Hugo partial. Simply provide the `googleAnalytics` key in the `config/_default/hugo.toml` file and the script will be added automatically.
|
||||
|
||||
Both version 3 (analytics.js) and version 4 (gtag.js) are supported, based on the configuration value provided:
|
||||
|
||||
```toml
|
||||
# config/_default/config.toml
|
||||
# config/_default/hugo.toml
|
||||
|
||||
# version 3
|
||||
googleAnalytics = "UA-PROPERTY_ID"
|
||||
|
||||
@@ -27,12 +27,12 @@ Fathom Analytics のサポートを有効にするには、`config/_default/para
|
||||
|
||||
### Google アナリティクス
|
||||
|
||||
Google アナリティクスのサポートは、Hugo の内部パーシャルを介して提供されます。`config/_default/config.toml` ファイルに `googleAnalytics` キーを指定するだけで、スクリプトが自動的に追加されます。
|
||||
Google アナリティクスのサポートは、Hugo の内部パーシャルを介して提供されます。`config/_default/hugo.toml` ファイルに `googleAnalytics` キーを指定するだけで、スクリプトが自動的に追加されます。
|
||||
|
||||
指定された設定値に基づいて、バージョン 3 (analytics.js) とバージョン 4 (gtag.js) の両方がサポートされています。
|
||||
|
||||
```toml
|
||||
# config/_default/config.toml
|
||||
# config/_default/hugo.toml
|
||||
|
||||
# バージョン 3
|
||||
googleAnalytics = "UA-PROPERTY_ID"
|
||||
|
||||
@@ -27,12 +27,12 @@ To enable Fathom Analytics support, simply provide your Fathom site code in the
|
||||
|
||||
### Google Analytics
|
||||
|
||||
Google Analytics support is provided through the internal Hugo partial. Simply provide the `googleAnalytics` key in the `config/_default/config.toml` file and the script will be added automatically.
|
||||
Google Analytics support is provided through the internal Hugo partial. Simply provide the `googleAnalytics` key in the `config/_default/hugo.toml` file and the script will be added automatically.
|
||||
|
||||
Both version 3 (analytics.js) and version 4 (gtag.js) are supported, based on the configuration value provided:
|
||||
|
||||
```toml
|
||||
# config/_default/config.toml
|
||||
# config/_default/hugo.toml
|
||||
|
||||
# version 3
|
||||
googleAnalytics = "UA-PROPERTY_ID"
|
||||
|
||||
@@ -28,12 +28,12 @@ Blowfish 支持了 Fathom、Google 和 Umami。Fathom 和 Umami 都是开源、
|
||||
|
||||
### Google
|
||||
|
||||
Hugo partial 本身已经支持了 Google 站点分析。只需要在 `config/_default/config.toml` 文件添加 `googleAnalytics` 参数即可,跟踪脚本会自动添加。
|
||||
Hugo partial 本身已经支持了 Google 站点分析。只需要在 `config/_default/hugo.toml` 文件添加 `googleAnalytics` 参数即可,跟踪脚本会自动添加。
|
||||
|
||||
版本3 (analytics.js) 和版本4 (gtag.js) 都是支持的,参考如下示例:
|
||||
|
||||
```toml
|
||||
# config/_default/config.toml
|
||||
# config/_default/hugo.toml
|
||||
|
||||
# 版本 3
|
||||
googleAnalytics = "UA-PROPERTY_ID"
|
||||
|
||||
Reference in New Issue
Block a user