Skip to content

Commit

Permalink
chore(docs): updated google tag manager link via themes build (#1694)
Browse files Browse the repository at this point in the history
  • Loading branch information
venetrius authored Nov 8, 2024
1 parent c17c952 commit aa0e4db
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion themes/camunda/assets/css/docs.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/camunda/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</p>

<p>
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are part of Camunda 7
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are both part of Camunda
<span class="splitter">|</span>
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"}}
</p>
Expand Down
9 changes: 1 addition & 8 deletions themes/camunda/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
'https://ssgtm.camunda.org/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PP9MHKW');</script>
<!-- End Google Tag Manager -->

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

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

Expand Down
6 changes: 4 additions & 2 deletions themes/camunda/layouts/shortcodes/ee-download.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

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

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

<div class="standalone">
<h4>Standalone Web Application</h4>
<h4></h4>

<p class="hint"></p>

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

Expand Down

0 comments on commit aa0e4db

Please sign in to comment.