Skip to content

Commit 32758b6

Browse files
committed
Update repository URL and branch in config.toml; add Google Analytics service in hugo.toml
1 parent 57ca93b commit 32758b6

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ canonifyURLs = false
6363
themeColor = "purple"
6464

6565
# gitinfo
66-
repoURL = "https://github.com/Spina02/ArchLinux/" # Git repository URL for your site [support for GitHub, GitLab, and BitBucket]
66+
repoURL = "https://github.com/Spina02/ArchLinux" # Git repository URL for your site [support for GitHub, GitLab, and BitBucket]
6767
repoBranch = "main/docs" # Name of your Git repository branch
6868
editPage = true # enable 'Edit this page' feature - default false
6969
lastMod = true # enable 'Last modified' date on pages - default false

docs/hugo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ enableGitInfo = true
1111
relativeURLs = false
1212
canonifyURLs = false
1313

14+
[services]
15+
[services.googleAnalytics]
16+
id = 'G-64G6E64CHY'
17+
1418
[build]
1519
noJSConfigInAssets = true
1620

@@ -60,8 +64,8 @@ canonifyURLs = false
6064
themeColor = "purple"
6165

6266
# gitinfo
63-
repoURL = "https://github.com/Spina02/ArchLinux/docs" # Git repository URL for your site [support for GitHub, GitLab, and BitBucket]
64-
repoBranch = "release" # Name of your Git repository branch
67+
repoURL = "https://github.com/Spina02/ArchLinux/" # Git repository URL for your site [support for GitHub, GitLab, and BitBucket]
68+
repoBranch = "main/docs" # Name of your Git repository branch
6569
editPage = true # enable 'Edit this page' feature - default false
6670
lastMod = true # enable 'Last modified' date on pages - default false
6771
lastModRelative = true # format 'Last modified' time as relative - default true
@@ -149,8 +153,4 @@ canonifyURLs = false
149153
[[menu.primary]]
150154
name = "Configs"
151155
url = "/configs/"
152-
weight = 3
153-
154-
[services]
155-
[services.googleAnalytics]
156-
id = 'G-64G6E64CHY'
156+
weight = 3

0 commit comments

Comments
 (0)