Skip to content

Commit 20af0bb

Browse files
authored
chore(docs): updated google tag manager link via themes build (#1694) (#1700)
related to: camunda/team-automation-platform/issues/160
1 parent 9fd3803 commit 20af0bb

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

themes/camunda/assets/css/docs.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/camunda/layouts/partials/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</p>
99

1010
<p>
11-
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are part of Camunda 7
11+
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are both part of Camunda
1212
<span class="splitter">|</span>
1313
Built by <a href="http://www.camunda.com">camunda</a> and contributors &mdash; <a href="https://camunda.com/legal/privacy/">Privacy Statement</a> &mdash; camunda Services GmbH &copy; {{ now.Format "2006"}}
1414
</p>

themes/camunda/layouts/partials/header.html

+1-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
66
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
77
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
8-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
8+
'https://ssgtm.camunda.org/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
99
})(window,document,'script','dataLayer','GTM-PP9MHKW');</script>
1010
<!-- End Google Tag Manager -->
1111

@@ -34,13 +34,6 @@
3434
{{ $styles := resources.Get "css/docs.css" | fingerprint }}
3535

3636
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
37-
{{- $permalink := .Permalink }}
38-
{{- if ($.Site.Params.section.versions) }}
39-
{{- $latestVersion := (index $.Site.Params.section.versions 1) }}
40-
{{- $replacementPattern := print "${1}" $latestVersion "/${3}" }}
41-
{{- $permalink = $permalink | replaceRE `(\/manual\/)([^\/]*\/)(.*)` $replacementPattern }}
42-
{{- end }}
43-
<link rel="canonical" href="{{ $.Site.Params.canonicalBasePath }}{{ $permalink }}" />
4437
</head>
4538
<body class="{{ .Params.bodyclass }}">
4639

themes/camunda/layouts/shortcodes/ee-download.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
camDownloads.servers = {};
2020
{{ range $info := sort $.Page.Params.downloads.servers "weight" }}
21-
camDownloads.servers['{{ $info.path }}'] = '{{ $info.name }}';{{ end }}
21+
camDownloads.servers['{{ $info.id }}'] = {name:'{{ $info.name }}',path:'{{ $info.path }}'};{{ end }}
2222

2323
camDownloads.formats = [];
2424
{{ range $.Page.Params.downloads.formats }}
@@ -67,7 +67,9 @@ <h4>Full Distribution</h4>
6767
</div>
6868

6969
<div class="standalone">
70-
<h4>Standalone Web Application</h4>
70+
<h4></h4>
71+
72+
<p class="hint"></p>
7173

7274
<a class="details" href="/manual/latest/installation/standalone-webapplication">What is the Standalone Webapplication Distribution?</a>
7375

0 commit comments

Comments
 (0)