File tree Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
1717            fetch-depth : 0 
1818
1919      - name : Setup Hugo 
20-         uses : peaceiris/actions-hugo@v2   
20+         uses : peaceiris/actions-hugo@v2 
2121        with :
22-           hugo-version : ' latest ' 
22+           hugo-version : ' v0.100.0 ' 
2323          extended : true 
24-            
24+ 
2525      - name : Temp config 
2626        run : | 
2727          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
1818build-pr : clean setup
1919	hugo $(PR_OPTIONS ) 
2020
21+ build-pr-no-clean : setup
22+ 	hugo $(PR_OPTIONS ) 
23+ 
2124serve-prod : setup
2225	hugo server $(PROD_OPTIONS )  $(SERVE_OPTIONS ) 
2326
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ anchor = "smart"
3131[languages ]
3232[languages .en ]
3333title  = " Viam Documentation" 
34- description  = " Viam Documentation" 
3534languageName  =" English" 
3635weight  = 1 
3736
Original file line number Diff line number Diff line change 4545
4646{{ partial "hooks/head-end.html" . -}}
4747
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