Skip to content
Merged
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
3 changes: 0 additions & 3 deletions scripts/build/antora_build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ echo "npm analysis antora_build"
npm ls -g --depth=0
if [ "$PROD_SITE" = true ]
then
# Enable google analytics in docs
antora --fetch --stacktrace --key google-analytics=G-PXYTWCYE18 src/main/content/docs/antora-playbook.yml
else
antora --fetch --stacktrace src/main/content/docs/antora-playbook.yml
fi
2 changes: 1 addition & 1 deletion scripts/build/jekyll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mkdir -p target/jekyll-webapp
# Enable google analytics if ga is true
if [ "$PROD_SITE" = true ]
then
jekyll build --source src/main/content --config src/main/content/_config.yml,src/main/content/_google_analytics.yml --destination target/jekyll-webapp
jekyll build --source src/main/content --config src/main/content/_config.yml --destination target/jekyll-webapp
else
# Set the --future flag to show blogs with date timestamps in the future
jekyll build --future --source src/main/content --config src/main/content/_config.yml --destination target/jekyll-webapp
Expand Down
1 change: 0 additions & 1 deletion src/main/content/_google_analytics.yml

This file was deleted.

7 changes: 0 additions & 7 deletions src/main/content/_includes/google_tag_manager_head.html

This file was deleted.

4 changes: 0 additions & 4 deletions src/main/content/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@
{% css {{css_name}} %}
{% endfor %}

{% if jekyll.environment == 'production' and site.google_tag_manager %}
{% include google_tag_manager_head.html %}
{% endif %}

<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">

Expand Down

This file was deleted.

3 changes: 0 additions & 3 deletions src/main/content/antora_ui/src/partials/head-scripts.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{{#if site.keys.googleAnalytics }}
{{> google_tag_manager_head }}
{{/if}}
<script async src="{{uiRootPath}}/js/vendor/highlight.js "></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha512-+NqPlbbtM1QqiK8ZAo4Yrj2c4lNQoGv8P79DPtKzj++l5jnN39rHA/xsqn8zE9l0uSoxaCdrOgFs6yjyfbBxSg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
Expand Down
Loading