Commit Graph

319 Commits (c6ec678fe7c57ee7b6652522250d18c5c553be61)

Author SHA1 Message Date
Tim Bannister a1f43e9de5
Move canonical link earlier in metadata
To help search engines, make the canonical URL appear near the start of
the <head> HTML element. This improves the chance of a search engine
paying attention; some indexers only read part of the page and ignore
information that appears later within the <head> element.
2022-10-03 16:38:24 +01:00
Kubernetes Prow Robot 24d941b0d8
Merge pull request #36898 from a-mccarthy/fix-28616
Make sub-items visible in localizations
2022-09-30 06:26:29 -07:00
Kubernetes Prow Robot 24540ba388
Merge pull request #36923 from a-mccarthy/fix-36903
Fix URL in navbar-version-selector.html to point to correct localization
2022-09-30 06:08:29 -07:00
Tim Bannister 4b8ec4dc73
Add page info to autogenerated pages
Tell the reader when they're viewing an autogenerated page, in case
they want to report an issue - it should help make reports about
autogenerated content stand out.

Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
2022-09-27 23:47:10 +01:00
Kubernetes Prow Robot 69850cc98f
Merge pull request #36590 from sftim/20220904_fix_sidebar
Fix sidebar rendering for narrow viewports
2022-09-20 11:53:16 -07:00
Abigail McCarthy fb11b32a59 Fix URL in navbar-version-selector.html to point to correct localization
Add missing space
2022-09-20 12:28:04 -04:00
Abigail McCarthy 2f5116bf18 Make sub-items visible in localizations
Add comments
2022-09-20 12:00:03 -04:00
Nabarun Pal 6d7a573eb1
release: move markdown tables to shortcode
also, add i18n definitions for terms in the patch release page

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-15 12:57:16 +05:30
Tim Bannister 4c914f9ac2
Fix sidebar rendering for narrow viewports
Fix a bug that's noticeable when the viewport is narrow: you can toggle
the menu, but that menu is actually blank.
2022-09-04 17:18:30 +01:00
Kubernetes Prow Robot bb3ba4b18b
Merge pull request #34794 from chrismetz09/bugMermaid
Fix Mermaid render problem
2022-09-01 13:09:19 -07:00
chrismetz09 61a1ec21b5 Fix Mermaid render problem 2022-08-31 14:49:00 -07:00
Rolfe Dlugy-Hegwer b6299f907b Fix release-data i18n 2022-08-31 06:49:06 -04:00
Kubernetes Prow Robot f98437f846
Merge pull request #36010 from chalin/chalin-im-use-ga4-id-2022-08-16
Google analytics: use GA4 site tag
2022-08-24 11:57:49 -07:00
Patrice Chalin c6e50979d2 Google analytics: use GA4 site tag 2022-08-16 07:19:08 -04:00
Pushkar Joglekar cafe6d258c Fetch and Render CVE JSON feed
- Pull JSON blob from queried issues
- Use layout output formats + templates to generate HTML table and JSON blob
- Add localized strings and caption for CVE feed
- Add a new page to describe details about CVE feed and how to use it
- Update existing pages and link the official CVE feed from it

Co-authored-by: Neha Lohia <nehapithadiya444@gmail.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-08-02 09:32:01 -07:00
Qiming Teng 12f11d4919 Improve page-meta-links page
This PR fixes a warning in the page-meta-links.html page where `.Path`
is a function to be removed soon. Warning message:

```
WARN 2022/06/17 21:20:35 .Path when the page is backed by a file is deprecated and will be removed in a future release. We plan to use Path for a canonical source path and you probably want to check the source is a file.
```
2022-06-17 21:28:23 +08:00
Tim Bannister 4fa64207d0
Fix build issue for Netlify _headers file
This changes fixes an error where the production site does not build.
Use .RelPermalink to generate the site-relative URL for a page.
2022-06-17 12:46:01 +01:00
Kubernetes Prow Robot b835209a5c
Merge pull request #34262 from Rishit-dagli/Rishit-dagli-katacoda-banner
Remove katacoda warning
2022-06-17 01:32:32 -07:00
Tim Bannister 40c2c147d1 Fix invalid HTML element name
Wrong: <headclass="live-site">
Right: <head class="live-site">

Make it so.
2022-06-14 13:49:49 +01:00
Kubernetes Prow Robot 7aa5a90d74
Merge pull request #34251 from dradetsky/disable-gtag-in-local
Omit Google Analytics code for local Hugo website build
2022-06-14 05:35:34 -07:00
s-kawamura-w664 0aa7c16ab5 Fix api-reference shortcode for localized pages. 2022-06-14 06:18:41 +00:00
Daniel Radetsky 49d73dcc95 either prod or nonprod 2022-06-13 20:18:47 -07:00
Daniel Radetsky 631d1eb778 gtags only in production 2022-06-13 11:47:41 -07:00
Rishit Dagli fc8c3536d1 Remove katacoda warning 2022-06-13 16:36:48 +00:00
Daniel Radetsky 4fecd324ca disable gtag in local env 2022-06-12 11:03:50 -07:00
Kubernetes Prow Robot 7eb8181d0c
Merge pull request #34005 from sftim/20220528_warn_katacoda_removal
Add warning about Katacoda shutdown
2022-05-31 11:42:24 -07:00
Sean Wei 34073abcec Remove google_news template from layout 2022-05-31 22:46:33 +08:00
Tim Bannister a7c5ec8eda
Extend Katacoda removal warning
Also cover HTML-based interactive tutorials that do not launch Katacoda
from a button. This commit only updates the English localization.
2022-05-29 14:17:54 +01:00
Tim Bannister e173bf4940
Add warning about Katacoda shutdown 2022-05-29 14:07:46 +01:00
Tim Bannister d3708001d8
Use previous release examples in codenew shortcode
Fix a minor bug in the codenew shortcode.
When serving a previous release, link to the example for that specific
release (and not to the example for the current release).
2022-04-25 14:27:28 +01:00
Jihoon Seo c6b6e5acb6 Update api-reference shortcode 2022-04-21 10:02:26 +09:00
Christopher Negus 6d560379a8 Create dockershim shortcode 2022-04-18 17:13:23 +00:00
Kubernetes Prow Robot e7af510fde
Merge pull request #31658 from sftim/20220207_revise_community_page_and_styles
Revise community page and styles
2022-03-24 17:19:50 -07:00
Qiming Teng 8311f4324c Make FEATURE STATE localizable
Add i18n string for FEATURE STATE, for ease of localization.
2022-03-06 21:44:40 +08:00
Kubernetes Prow Robot 879f4d4c86
Merge pull request #31934 from liggitt/evergreen
Allow marking blog posts as evergreen and exempt from outdated warning
2022-02-27 16:25:18 -08:00
Jordan Liggitt b19e4ff868 Allow marking some blog posts as evergreen and exempt from outdated warning 2022-02-27 17:25:36 -05:00
Jordan Liggitt a61da6510d Soften language about older articles 2022-02-27 17:23:36 -05:00
Tim Bannister e993de5dc6 Tidy styles for community section
This change enables an opt-in switch to new styles for /community
It is opt-in to enable localizations to migrate to the new page on their
own timeline.
2022-02-20 16:11:31 +00:00
Kubernetes Prow Robot ca8f4f1b7d
Merge pull request #31056 from sftim/20211221_mermaid_improvements
Improvements for Mermaid support
2022-02-19 14:22:09 -08:00
Sergey Kanzhelev ec25052227
fix error display string 2022-02-18 14:30:23 -08:00
Kubernetes Prow Robot 78f6ae073e
Merge pull request #31623 from sftim/20220204_tweak_blog_outdated_warning
Recolor warning about old blog articles
2022-02-11 08:52:24 -08:00
Tim Bannister 7245f44c52 Fix incorrect markup for navbar
Remove a vestigial </span> from the partial.
2022-02-06 22:16:17 +00:00
Tim Bannister fbc529ce0a Recolor warning about old blog articles
Use white on blue. This color combination is on-brand and stands out,
whilst looking less alarming than the black on yellow for old
documentation versions.
2022-02-04 15:37:59 +00:00
Patrice Chalin 1a88ffdf99 Final cleanup and choice of i18n-key and class names 2022-02-02 09:04:05 -05:00
Patrice Chalin 3e8f9d2f15 Whitespace cleanup 2022-02-01 16:02:38 -05:00
Patrice Chalin 6de4f5bcf1 Use single i18n entry for the message 2022-02-01 15:59:01 -05:00
Patrice Chalin 659dd4b904
Add class blog-outdated-warning
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-02-01 15:41:54 -05:00
Patrice Chalin a4726731ed Mark blogs older than a year as outdated 2022-02-01 14:04:08 -05:00
Kubernetes Prow Robot 953bb28644
Merge pull request #30790 from sftim/20211207_mark_only_live_site_indexable
Make only live website indexable
2022-01-17 14:10:49 -08:00
Tim Bannister 4592cf5703 Mark live site in HTML
This allows CSS, JavaScript etc to detect if the served website is the
live one.
2022-01-03 17:24:19 +00:00