File tree Expand file tree Collapse file tree 5 files changed +7
-51
lines changed
project_template/config/_default Expand file tree Collapse file tree 5 files changed +7
-51
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 </ head >
88 < body >
99 < div class ="content ">
10- {{- "<!--#include virtual=\"/includes/header.html\" --> " | safeHTML }}
10+ {{- $partialPath := "header.html" }} {{/* Set a default */}}
11+ {{- with .Site.Params.productCode }}
12+ {{- $partialPath = printf "header-%s.html" . }}
13+ {{- end }}
14+ {{- printf "<!-- #include virtual=\"/includes/%s\" --> " $partialPath | safeHTML }}
1115
1216 < div class ="container ">
1317
Original file line number Diff line number Diff line change @@ -56,14 +56,15 @@ sitemap:
5656 priority : 0.75
5757
5858params :
59+ # The same as in the /products/<APP>/ doc URL prefix
60+ productCode : XXXX
5961 analytics :
6062 google : XXXX
6163 yandex : XXXX
6264 # GitHub repository link for editing a page and opening issues.
6365 github_repo : https://github.com/deckhouse/XXXX
6466 # Show "Edit this page" link
6567 showedit : true
66- remoteAssetURL : /includes/
6768
6869 # Enable Lunr.js offline search
6970 offlineSearch : false
@@ -75,10 +76,6 @@ module:
7576 imports :
7677 # Site templates
7778 - path : github.com/deckhouse/hugo-web-product-module
78- # mounts:
79- # - source: docs/api
80- # target: content/reference/api/engine/version
81- # includeFiles: "*.yaml"
8279
8380languages :
8481 en :
You can’t perform that action at this time.
0 commit comments