Commit Graph

120 Commits (3b241356e50f05003bee139e6eb7b3376c17eeb1)

Author SHA1 Message Date
divya-mohan0209 56379649d3
Added date metadata to blog articles #19503 (#19523)
Added <time> </time> HTML element to the date heading in blog post articles. 
The opening <time> tag also was given a datetime attribute, with the value using another Hugo shortcode. Since these use Go time patterns; we included the following in the opening <time> tag datetime="{{ .Date.Format "2006-01-02" }}".
2020-03-07 05:31:34 -08:00
Kubernetes Prow Robot 066b9f3b8c
remove extra spaces from template (#19495) 2020-03-05 09:30:38 -08:00
Kubernetes Prow Robot 67c0fb987e
Training page in the top nav (#19214)
* Create new page and add to top nav

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* The basics

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* A bit of inline css

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Fix CSS

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Fix link + Add to bottom row

Signed-off-by: Celeste Horgan <celeste@cncf.io>

* Address feedback in PR

* Address feedback from elsewhere

* Fix button alignment

* Add training partners

* Simplify css

* Apply suggestions from review

Co-Authored-By: Zach Corleissen <zacharysarah@users.noreply.github.com>

* Fix landscape + text block widths

Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-03-04 11:01:48 -08:00
Yong Zhang 55de253934
Localize “email address” placeholder on home page (#19359) 2020-02-28 01:22:39 -08:00
Flo 91759dcd79
Fix cursor not being correct on copy icon (#18901) 2020-02-27 07:53:27 -08:00
Sascha Grunert 3ecfc9f47f
Fix wrong CHANGELOG locations (#19089)
We prefixed the CHANGELOG path in k/k with `CHANGELOG/`, which should
reflect every part of the website as well.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-02-25 05:42:49 -08:00
Utwo a5f2cece61
Fix form allignment in mobile view. (#17007)
* Fix form alignement in mobile view

* Remove margin left

* Add mare space between input and button
2020-02-24 11:55:36 -08:00
Karen Bradshaw 9fab3c3098
Add latest-semver shortcode (#19110) 2020-02-16 08:21:28 -08:00
Rémy Léone 207c654042
Add a theme-color (#18976) 2020-02-14 16:33:27 -08:00
Qiming Teng b550c6c051
Remove shortcode 'code' (#19035)
A long time ago, we added a new shortcode `codenew` as a replacement of
the `code` shortcode. The intention was to consolidate all example
manifests to a single subdirectory, i.e. `content/<lang>/examples`. Now
this transition is almost over. We have only two instances where the old
`code` shortcode is referenced.

This PR makes the `policy.rego` file inlined content so that all
referenes to `code` are killed. We can safely drop the `code` shortcode.
If desired, we can rename the `codenew` shortcode to `code` in a
(series of) separate PR(s).
2020-02-10 19:52:00 -08:00
John Morrissey 1e6d352c93
maintain the current relative path when switching to other site versions (#18871) 2020-02-06 13:05:26 -08:00
Jie Shen a34bbe4365
Cleanup user journeys related configs and scripts (#18814) 2020-01-30 17:46:19 -08:00
Tim Bannister 7d424c304c Localize logo title (#18318)
The Kubernetes logo links to the top-of-site for the current
localization, so localize the title attribute.
2020-01-15 07:39:32 -08:00
Chaitanya 891814d1d6 Replaced logo names with link titles for images alt text (#16691)
Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>
2019-12-23 21:07:29 -08:00
Roy Hvaara 88d0f78251 Add YouTube social button in header and footer (#16838) 2019-12-04 15:22:31 -08:00
Chris Abraham 7bf90015f0 swapped in svgs for the remaining pngs on the case studies page (#17615) 2019-11-17 12:41:41 -08:00
bells17 5306b4e784 Remove a space previous a tooltip text (#17194)
* Remove a space previous a tooltip text

* Improve format
2019-11-06 07:53:52 -08:00
Chaitanya 6a4238aa71 Accessibility updates - main landmark roles (#17106)
* Removed multiple main tags from home page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Removed multiple occurances of main in case-studies page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Replaced css for main tag with .main-section class

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Added main landmark role for all the pages

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Force checks.

request-checks: true
2019-10-27 04:43:24 -07:00
Chris Abraham 6e2683269a Use SVGs instead of PNGs in the case studies page (#17095)
* favor svg over png for logos on case studies page

* added svgs for all case studies

* favor svg over png for logos on case studies page

* added svgs for all case studies

* duplicating the jd logo so both are svg

* switch to svgs in the case studies block on the homepage
2019-10-23 09:02:15 -07:00
Chaitanya 920d14f4fc Accessibility Updates (#16633)
* Fixed accessibility issues in home page

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Fixed accessibility issues for docs/home page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Fixed accessibility issues for /partners page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Fixed accessibility issues for /community page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Update layouts/partials/header.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update layouts/partials/footer-scripts.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update layouts/index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/partners/_index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/community/_index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Added missing quotes

* Added landmark roles for search bar and footer

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Changed images alt text

Changed alt text from 'kubernetes community' to 'Kubernetes Conference Gallery'

* Removed verb from iframe title

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Change alt text for GitHub image

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Few alt text changes

* Modified alt text
2019-10-05 22:23:09 -07:00
Roy Hvaara bd7dae1c87 Use HTTPS for links (#16668) 2019-10-02 23:14:08 -07:00
aimeeu d549942636 Add announcement shortcode and partial (#16210)
Add shortcode, partial, and css so we can display an accouncement
site-wide.
Create a shortcode for use in content/en/ _index.html so
announcement is displayed on website landing page.
Create a partial for use in layouts/docs/baseof.html so
announcement is displaye on every page in '<url>/docs/home'
directory.
Add two values to config.toml: announcement (boolean) for toggling
display of announcement; announcement_message, which is the actual
message.

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-09-09 14:22:55 -07:00
mohamed chiheb ben jemaa 63eb064d96 update sweetAlert and fix scrolling after copy (#15542) 2019-08-21 17:20:32 -07:00
Thibaut Tauveron bfe83d284c fix unexpected line breaks for localized glossary tooltips #15390 (#15920) 2019-08-18 17:58:04 -07:00
mohamed chiheb ben jemaa 73ef2c557b adjust and center Blog links (#15541) 2019-08-15 20:28:33 -07:00
Ben Hall 779b2be65c Update Interactive Terminal button. Add button directly to port 30000 for dashboard. Use new Start script to launch minikube. (#15689) 2019-08-06 11:03:55 -07:00
Harsh Vardhan b7b8ce0b25 Fix Prev/Next navigation buttons when viewing article (#15439)
Earlier both the on the left and right buttons had the text `Next>>` now
the left one will have the text `<< Prev`

fixes: https://github.com/kubernetes/website/issues/15438

Signed-off-by: Harsh Vardhan <harsh.vardhan@mayadata.io>
2019-07-21 01:46:54 -07:00
Rael Garcia c138c9c158 Replace tabs by spaces in glossary-terms partials (#15408)
Using tabs in this partials seems to cause Hugo to parse the partial
as a code block instead of rendering the HTML code.

Solves #14792 rendering issues.
2019-07-14 03:41:03 -07:00
Jim Angel 05a84463b2 fixes offline dependencies (#15257)
fixing tweet tags by replacing with embedded html
2019-07-11 16:07:04 -07:00
Rémy Léone 1206e3c6a1 Fix robots.txt (#14774)
Lighthouse in Google Chrome reported an issue
2019-06-24 20:52:35 -07:00
mhamdi semah 582cda6192 Blog post index for past years does not expand making older posts unreachable (#14875) 2019-06-24 20:10:35 -07:00
Alexandre Vilain b473890928 Fix 404 on link: "Download Kubernetes" (#14969) 2019-06-18 13:45:49 -07:00
Luc Perkins 654db85168 Use Hugo extended for Sass/CSS (#13113) 2019-06-09 06:31:07 -07:00
Rémy Léone 871ba61574 Update bootstrap js because bootstrap 3.3.7 is vulnerable (#14775)
https://snyk.io/vuln/npm:bootstrap?lh=3.3.7&utm_source=lighthouse&utm_medium=ref&utm_campaign=audit
2019-06-07 19:01:08 -07:00
Tim Bannister 1078044001 Fix HTML typo (#14527) 2019-05-26 21:35:48 -07:00
Supriya Sirbi 53b03baaa8 Subscribe button on the home page is not aligned. #13672 (#14175) 2019-05-08 20:42:48 -07:00
Seokho 017a224473 Fix glossary tooltip mismatch (#14227) 2019-05-08 13:18:36 -07:00
Chris Abraham 4e35312a7f New Community page, as designed by @alexcontini (#13046)
* new community page

* update
2019-04-26 12:40:05 -07:00
Danny Berger 4029a7ab5e Normalize case: Github -> GitHub (#13828) 2019-04-25 09:40:47 -07:00
Rael Garcia 20842e037a Add localization support for layouts (#13832)
Add layouts/docs/glossary en i18n strings
Add layouts/docs/glossary es i18n strings
Use i18n strings in layouts/docs/glossary
Add layouts/blog/pager en i18n strings
Add layouts/blog/pager es i18n strings
Use i18n strings in layouts/blog/pager
Add layouts/blog/list en  i18n strings
Add layouts/blog/list es  i18n strings
Use i18n strings in layouts/case-studies/list
Add layouts/docs/search en i18n strings
Add layouts/docs/search es i18n strings
Use i18n strings in layouts/docs/search
Add layouts/partials/feedback en i18n strings
Add layouts/partials/feedback es i18n strings
Use i18n strings in layouts/partials/feedback
Set html lang using "{{ .Language }}"
2019-04-16 17:36:01 -07:00
Luc Perkins 645d3d8ded Create table shortcode that allows for table captions (#13117)
* Create table shortcode for captions

* Allow for tables without captions

* Add table documentation in shortcodes guide

* Docs cleanup
2019-04-09 22:20:12 -07:00
Karen Bradshaw 0c568fa9c9 fix note shortcode, lists (#13587)
* fix note shortcode, lists

- fix note shortcode for use in lists
- add example in style guide

* add more items to list

* update warning, caution, minor tweaks

* more updates
2019-04-09 18:44:12 -07:00
Bjørn Erik Pedersen b51bdc88cc Make it compatible with Hugo 0.55 (#13680)
This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable:

* All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar.
* Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
2019-04-08 18:19:05 -07:00
Christian Oliff 2d1fdb0666 Always load Mailchimp CSS over HTTPS (#13678) 2019-04-08 18:17:04 -07:00
Damini Satya 532bb26b9d Fix#13372 - Issue template for bug, support, feature requests (#13373)
* Fix#13372 - Issue template for bug, support, feature requests

* Point to the bug template for every bug report from website
2019-04-02 08:02:38 -07:00
Zach Corleissen 5bbd682613 Update the blog's download link (#13536) 2019-03-29 13:06:15 -07:00
Kaitlyn Barnard 14bfed8631 Adding image to Twitter meta data (#13261) 2019-03-27 16:28:50 -07:00
Jim Angel 39cb126d96 Update deprecationwarning.html (#13461)
ref: https://github.com/kubernetes/website/pull/13406#issuecomment-476806146
2019-03-26 13:19:17 -07:00
Kaitlyn Barnard 2b6780ad94 Adding link to submit a blog (#13252) 2019-03-18 14:24:21 -07:00
Dani Comnea 56021dc671 Reorganize Federation tasks so we have it group and under one topic (#12900)
* Reorganize Federation tasks so we have it group and under one topic

* Intended replacement
2019-03-12 13:38:39 -07:00