Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): updated google tag manager link via themes build (#1694) #1702

Open
wants to merge 1 commit into
base: 7.21
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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