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
5 changes: 0 additions & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
to = "/docs/community/"
status = 301

[[redirects]]
from = "/about-analytics-cookies/"
to = "/development/about-analytics-cookies/"
status = 301

[[redirects]]
from = "/docs/help/contributor/*"
to = "https://github.com/knative/docs/blob/main/contribute-to-docs/README.md"
Expand Down
9 changes: 5 additions & 4 deletions overrides/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@
</div>

<div class="footer-links md-footer-copyright">
<a href="https://www.linuxfoundation.org/legal/trademark-usage">Trademarks</a> |
<a href="https://policies.google.com/privacy">Privacy Policy</a> |
<a href="/development/about-analytics-cookies/">Cookie Usage</a> |
<a href="/docs/about-analytics-cookies/">Cookie Usage</a> |
Copy link
Copy Markdown
Member

@psschwei psschwei Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should also update this link on L113 and L124 below (in the cooke banner)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch 👍

<a href="https://github.com/knative/docs/blob/main/LICENSE">Apache-2.0 LICENSE</a> |
<a href="https://github.com/knative/docs/blob/main/LICENSE-docs">CC BY 4.0 LICENSE</a> |
<a href="https://squidfunk.github.io/mkdocs-material/">Made by Material MkDocs</a>
Expand All @@ -98,7 +99,7 @@
</div>
</footer>

<!-- Cookie Bannier -->
<!-- Cookie Banner -->
<div id="cookieModal" class="md-typeset modal custom fade" role="dialog" data-backdrop="false">
<div class="modal-dialog modal-xl">
<div class="modal-content">
Expand All @@ -109,7 +110,7 @@
<button type="button" class="md-button md-button--primary" onclick="acceptcookie()">Accept</button>
<div class="opt-out">
<hr>
<p><a href="/development/about-analytics-cookies/">Learn about analytics cookies and how you can take steps to opt-out from sharing your usage data.</a></p>
<p><a href="/docs/about-analytics-cookies/">Learn about analytics cookies and how you can take steps to opt-out from sharing your usage data.</a></p>
<button type="button" class="md-button" onclick="optout()">I understand how to opt-out, hide this notice.</button>
</div>
</div>
Expand All @@ -120,7 +121,7 @@
<div class="cookienotice md-typeset">
<div class="text">
<p>We use analytics and cookies to understand site traffic. Information about your use of
our site is shared with Google for that purpose. <a href="/development/about-analytics-cookies/">Learn more.</a>
our site is shared with Google for that purpose. <a href="/docs/about-analytics-cookies/">Learn more.</a>
</p>
</div>
<div class="buttons">
Expand Down