File tree 4 files changed +6
-12
lines changed
4 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
fetch-depth : 0
18
18
19
19
- name : Setup Hugo
20
- uses : peaceiris/actions-hugo@v2
20
+ uses : peaceiris/actions-hugo@v2
21
21
with :
22
- hugo-version : ' latest '
22
+ hugo-version : ' v0.100.0 '
23
23
extended : true
24
-
24
+
25
25
- name : Temp config
26
26
run : |
27
27
echo url_latest_version = \"https://docs-test.viam.dev/${{ github.sha }}/public\" > config_pr.toml
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ build-prod: clean setup
18
18
build-pr : clean setup
19
19
hugo $(PR_OPTIONS )
20
20
21
+ build-pr-no-clean : setup
22
+ hugo $(PR_OPTIONS )
23
+
21
24
serve-prod : setup
22
25
hugo server $(PROD_OPTIONS ) $(SERVE_OPTIONS )
23
26
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ anchor = "smart"
31
31
[languages ]
32
32
[languages .en ]
33
33
title = " Viam Documentation"
34
- description = " Viam Documentation"
35
34
languageName =" English"
36
35
weight = 1
37
36
Original file line number Diff line number Diff line change 45
45
46
46
{{ partial "hooks/head-end.html" . -}}
47
47
48
- {{/* To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled */ -}}
49
- {{ if hugo.IsProduction -}}
50
- {{ if hasPrefix .Site.GoogleAnalytics "G-" -}}
51
- {{ template "_internal/google_analytics.html" . -}}
52
- {{ else -}}
53
- {{ template "_internal/google_analytics_async.html" . -}}
54
- {{ end -}}
55
- {{ end -}}
You can’t perform that action at this time.
0 commit comments