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"
|
||||
permalink: /404.html
|
||||
noratings: true
|
||||
notoc: true
|
||||
sitemap: false
|
||||
skip_read_time: true
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ exclude:
|
|||
|
||||
# Google Analytics, etc.
|
||||
google_analytics: GTM-WL2QLG5
|
||||
polldaddy_id: 8453675
|
||||
onetrust_id: 8e0ebfd9-035d-4ec2-9b2f-a2de9c09f906
|
||||
|
||||
# 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>
|
||||
{%- endif -%}
|
||||
{%- 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>
|
||||
</main>
|
||||
<nav class="col-nav">
|
||||
|
|
@ -90,6 +87,5 @@
|
|||
{% include footer.html %}
|
||||
</footer>
|
||||
<script>const pageURL = "{{ page.url }}";</script>
|
||||
{%- if jekyll.environment == 'production' -%}{%- include analytics/polldaddy.html -%}{%- endif -%}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -289,23 +289,6 @@ input:checked+.slider:before {
|
|||
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 ********************************************************************
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -28,12 +28,6 @@
|
|||
margin-bottom: 20px!important;
|
||||
}
|
||||
|
||||
.ratings-div {
|
||||
color: #b9c2cc;
|
||||
margin-top: 150px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*
|
||||
* tables **********************************************************************
|
||||
*/
|
||||
|
|
@ -217,7 +211,6 @@ input[type=text] {
|
|||
.col-toc,
|
||||
.footer,
|
||||
.glyphicon-tags,
|
||||
.ratings-div
|
||||
{
|
||||
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`
|
||||
- Google Analytics
|
||||
- page ratings
|
||||
- `sitemap.xml` generation
|
||||
- minification of stylesheets (`css/style.css`)
|
||||
- adjusting "edit this page" links for content in other repositories
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ title: "Glossary"
|
|||
description: "Glossary of terms used around Docker"
|
||||
keywords: "glossary, docker, terms, definitions"
|
||||
notoc: true
|
||||
noratings: true
|
||||
skip_read_time: true
|
||||
redirect_from:
|
||||
- /engine/reference/glossary/
|
||||
|
|
|
|||
Loading…
Reference in New Issue