File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,6 @@ elif [ -n "$BRANCH_NAME" ]; then
3030 BRANCH=" $BRANCH_NAME "
3131fi
3232
33- if [-n " $LTS_VERSION " ]; then
34- LTS_VERSION=" "
35- fi
36-
3733c=$( buildah from -v " $PWD " :/nt docs-revamp-22)
3834trap ' buildah run "$c" bash -c "sudo chown -R root:root /nt; sudo chmod -R a+rwX /nt"; buildah rm "$c" >/dev/null' EXIT
3935buildah run " $c " bash -x documentation/generator/build/main.sh " $BRANCH " " $PACKAGE_JOB " " $PACKAGE_UPLOAD_DIRECTORY " " $PACKAGE_BUILD " " $LTS_VERSION "
Original file line number Diff line number Diff line change 11{{ if not .Site.Params.isLTS }}
2- {{ $currentPath := .RelPermalink }}
3- {{ $canonicalURL := replace $currentPath (printf "/docs/%s/" .Site.Params.branch) "/docs/lts/" }}
4- < link rel ="canonical " href ="https://{{ .Site.Params.domain }}{{ $canonicalURL }} " />
2+ < link rel ="canonical " href ="https://{{ .Site.Params.domain }}/docs/lts{{ .RelPermalink }} " />
53{{ end }}
You can’t perform that action at this time.
0 commit comments