mirror of https://github.com/docker/docs.git
jekyll: add hotjar for prod environment (#15978)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com> Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
0d084752cf
commit
98d9938975
1
404.md
1
404.md
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Sorry, we can't find that page"
|
title: "Sorry, we can't find that page"
|
||||||
permalink: /404.html
|
permalink: /404.html
|
||||||
|
skip_feedback: true
|
||||||
notoc: true
|
notoc: true
|
||||||
sitemap: false
|
sitemap: false
|
||||||
skip_read_time: true
|
skip_read_time: true
|
||||||
|
|
|
@ -15,7 +15,9 @@ exclude:
|
||||||
|
|
||||||
# Google Analytics, etc.
|
# Google Analytics, etc.
|
||||||
google_analytics: GTM-WL2QLG5
|
google_analytics: GTM-WL2QLG5
|
||||||
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
|
polldaddy_id: 8453675
|
||||||
|
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
|
||||||
|
hotjar_id: 3169877
|
||||||
|
|
||||||
# Assets
|
# Assets
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{%- if site.hotjar_id != '' and page.skip_feedback != true -%}
|
{%- if site.hotjar_id != '' and page.skip_feedback != true -%}
|
||||||
<!-- Hotjar Tracking Code for https://docs.docker.com -->
|
<!-- Hotjar Tracking Code -->
|
||||||
<script>
|
<script>
|
||||||
(function(h,o,t,j,a,r){
|
(function(h,o,t,j,a,r){
|
||||||
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
||||||
|
|
|
@ -103,6 +103,7 @@ local builds, and builds that are deployed to [docs.docker.com](/):
|
||||||
|
|
||||||
- search auto-completion, and generation of `js/metadata.json`
|
- search auto-completion, and generation of `js/metadata.json`
|
||||||
- Google Analytics
|
- Google Analytics
|
||||||
|
- page feedback
|
||||||
- `sitemap.xml` generation
|
- `sitemap.xml` generation
|
||||||
- minification of stylesheets (`css/style.css`)
|
- minification of stylesheets (`css/style.css`)
|
||||||
- adjusting "edit this page" links for content in other repositories
|
- adjusting "edit this page" links for content in other repositories
|
||||||
|
|
|
@ -3,6 +3,7 @@ title: "Glossary"
|
||||||
description: "Glossary of terms used around Docker"
|
description: "Glossary of terms used around Docker"
|
||||||
keywords: "glossary, docker, terms, definitions"
|
keywords: "glossary, docker, terms, definitions"
|
||||||
notoc: true
|
notoc: true
|
||||||
|
skip_feedback: true
|
||||||
skip_read_time: true
|
skip_read_time: true
|
||||||
redirect_from:
|
redirect_from:
|
||||||
- /engine/reference/glossary/
|
- /engine/reference/glossary/
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
description: Docker documentation search results
|
description: Docker documentation search results
|
||||||
keywords: Search, Docker, documentation, manual, guide, reference, api
|
keywords: Search, Docker, documentation, manual, guide, reference, api
|
||||||
|
skip_feedback: true
|
||||||
notoc: true
|
notoc: true
|
||||||
notags: true
|
notags: true
|
||||||
title: "Docs search"
|
title: "Docs search"
|
||||||
|
|
Loading…
Reference in New Issue