mirror of https://github.com/docker/docs.git
Merge pull request #15979 from crazy-max/remove-polldaddy
jekyll: remove polldaddy
This commit is contained in:
commit
0d084752cf
1
404.md
1
404.md
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Sorry, we can't find that page"
|
title: "Sorry, we can't find that page"
|
||||||
permalink: /404.html
|
permalink: /404.html
|
||||||
noratings: true
|
|
||||||
notoc: true
|
notoc: true
|
||||||
sitemap: false
|
sitemap: false
|
||||||
skip_read_time: true
|
skip_read_time: true
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,7 @@ exclude:
|
||||||
|
|
||||||
# Google Analytics, etc.
|
# Google Analytics, etc.
|
||||||
google_analytics: GTM-WL2QLG5
|
google_analytics: GTM-WL2QLG5
|
||||||
polldaddy_id: 8453675
|
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
|
||||||
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
|
|
||||||
|
|
||||||
# Assets
|
# Assets
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
{%- if site.polldaddy_id and site.polldaddy_id != '' -%}
|
|
||||||
<script>
|
|
||||||
let PDRTJS_settings_{{ site.polldaddy_id }} = {
|
|
||||||
"id": "{{ site.polldaddy_id }}",
|
|
||||||
"unique_id": "{{ page.path }}",
|
|
||||||
"title": "{{ page.title | default: page_title }}",
|
|
||||||
"font_family": "Open Sans, sans serif",
|
|
||||||
"font_color": "b9c2cc",
|
|
||||||
"font_align": "center",
|
|
||||||
"permalink": "{{ site.repo }}/blob/main/{{ page.path }}"
|
|
||||||
};
|
|
||||||
(function (d, c, j) {
|
|
||||||
if (!document.getElementById(j)) {
|
|
||||||
let pd=d.createElement(c),s;pd.id=j;pd.src='https://polldaddy.com/js/rating/rating.js';s=document.getElementsByTagName(c)[0];s.parentNode.insertBefore(pd, s);
|
|
||||||
}
|
|
||||||
}(document, 'script', 'pd-rating-js'));
|
|
||||||
</script>
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
@ -42,9 +42,6 @@
|
||||||
</span>
|
</span>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endunless %}
|
{%- endunless %}
|
||||||
{%- if site.polldaddy_id and page.noratings != true -%}
|
|
||||||
<div class="ratings-div"><div id="pd_rating_holder_{{ site.polldaddy_id }}"></div></div>
|
|
||||||
{%- endif -%}
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
<nav class="col-nav">
|
<nav class="col-nav">
|
||||||
|
|
@ -90,6 +87,5 @@
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
</footer>
|
</footer>
|
||||||
<script>const pageURL = "{{ page.url }}";</script>
|
<script>const pageURL = "{{ page.url }}";</script>
|
||||||
{%- if jekyll.environment == 'production' -%}{%- include analytics/polldaddy.html -%}{%- endif -%}
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -289,23 +289,6 @@ input:checked+.slider:before {
|
||||||
margin: 15px 0 10px 0;
|
margin: 15px 0 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* polldaddy */
|
|
||||||
|
|
||||||
#rating_info_8453675 {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rating-msg {
|
|
||||||
font: inherit !important;
|
|
||||||
color: inherit !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* remove polldaddy ratings */
|
|
||||||
|
|
||||||
.rating-nero-value {
|
|
||||||
visibility: hidden
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Controls ********************************************************************
|
* Controls ********************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -28,12 +28,6 @@
|
||||||
margin-bottom: 20px!important;
|
margin-bottom: 20px!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ratings-div {
|
|
||||||
color: #b9c2cc;
|
|
||||||
margin-top: 150px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* tables **********************************************************************
|
* tables **********************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
@ -217,7 +211,6 @@ input[type=text] {
|
||||||
.col-toc,
|
.col-toc,
|
||||||
.footer,
|
.footer,
|
||||||
.glyphicon-tags,
|
.glyphicon-tags,
|
||||||
.ratings-div
|
|
||||||
{
|
{
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,6 @@ 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 ratings
|
|
||||||
- `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,7 +3,6 @@ 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
|
||||||
noratings: true
|
|
||||||
skip_read_time: true
|
skip_read_time: true
|
||||||
redirect_from:
|
redirect_from:
|
||||||
- /engine/reference/glossary/
|
- /engine/reference/glossary/
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
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
|
||||||
noratings: true
|
|
||||||
notoc: true
|
notoc: true
|
||||||
notags: true
|
notags: true
|
||||||
title: "Docs search"
|
title: "Docs search"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue