Commit Graph

114 Commits (89a8ad3951fce713d43854b62dc909c676276770)

Author SHA1 Message Date
Zach Corleissen c0382f1934 Cycle KubeCon info on landing page (#15170)
* Cycle KubeCon info on landing page

* Adjust button width
2019-06-27 16:11:22 -07:00
Tim Bannister 2436c026b4 Only use CNCF logo style on home page (#14577)
There's some SASS that adds a logo to the CNCF section of the page at
https://kubernetes.io/ (and its localizations).

Narrow this styling to apply only to the home page.
2019-06-26 13:25:25 -07:00
Karen Bradshaw ba7f02ea4e fix padding for docs home on nav (#14807)
updated padding for docs home on nav
testing new sass->css, hugo extended
2019-06-10 17:38:15 -07:00
Luc Perkins 654db85168 Use Hugo extended for Sass/CSS (#13113) 2019-06-09 06:31:07 -07:00
Luc Perkins 4547f89359 Remove Sass assets (#10464) 2018-10-02 12:49:12 -07:00
Zach Corleissen 4b77af7466
Move sass OWNERS to source instead of output (#10215) 2018-10-01 12:17:30 -07:00
Bjørn Erik Pedersen 1b5ff98a44 Make the home page into reusable and translatable blocks (#10071)
* Make navigation and UI strings i18n friendly

This commit

* Extracts most UI strings into i18n bundles so they can be translated
* Makes a proper Hugo menu out of the hardcoded menu that is shown on smaller screens
* Changes the language selector logic to navigate to the current page in the other language if possible (e.g. the translation). If not possible, it takes you to the home page for that language.

For testing, this commit also adds Norwegian as a new language. This is turned off.

* Make the home page into reusable and translatable blocks

This commit adds a set of block type shortcodes that is then used to build the home page.

* These shortcodes gets common image resources from a new headless bundle. These resources can be inherited or overridden by translations.
* The hardcoded case studies section on the home page is replaced with a query and a loop.
* The hardcoded feature list on the home page is replaed qith a query and a loop.
2018-09-14 14:47:24 -07:00
Luc Perkins 9ce0cd0906 Add AnchorJS logic for header links (#10155)
* Add AnchorJS JavaScript

* Remove existing inpage_heading logic

* Remove underline from anchor tags

* Use single icon and add touch visibility

* Use paragraph link icon for AnchorJS

* Update Sass to use code formatting in docsContent headers

* Update header size coverage to H3-H6
2018-09-10 13:09:36 -07:00
Math Costa fcc03c3474 Bing search for China users (#9845)
* Updates readme's site building instructions

* Alters dockerfile to use extended hugo build

This is necessary for the pipes used w/ TOCSS since node-sass was dropped

* WIP for bing search implementation

* Implements Bing search instead of google

* Makes bing the default result provider and uses google and it's available

* Adds pagination to bing and replaces the $.get call with a $.ajax call

* front adjust

* bing limit pagination

* Adds break if there are less than 10 pages worth of results on bing search

* Adds proper google script ref and proper config id

* Removes console.log call
2018-08-16 11:47:07 -07:00
Kaitlyn Barnard 3b9678cfda updated cncf logo and KubeCon china dates (#9782) 2018-08-08 13:43:03 -07:00
Luc Perkins e1087b52d0
Merge pull request #9196 from lucperkins/lperkins/issue-8639-cassandra-pods
Small fixes for Cassandra doc
2018-07-30 09:07:41 -07:00
lucperkins 5dc61780fe Merge remote-tracking branch 'upstream/master' into lperkins/issue-8639-cassandra-pods 2018-07-27 16:03:49 -07:00
lucperkins 548736d5c7 Fix homepage image loading issue 2018-07-26 15:18:26 -07:00
Luc Perkins 1060c00b2a Use Hugo for Sass processing (#9404)
* Move all Sass into a common /assets directory

* Remove node-sass make command

* Change head partial to accommodate full Sass rules

* Bump Hugo version in Netlify config

* Use separate partial for CSS imports

* Bump Hugo version

* Remove PostCSS from the pipeline

* Un-bump version

* Update Hugo version to 0.44

* Update Hugo version in Makefile

* Update production Hugo version

* Fix misspelled variable name

* Add ./resources folder to Git

* Update Hugo version in Netlify config to 0.45.1

* Use un-cached css.html partial

* Re-work extra CSS logic for .Params.css
2018-07-26 02:53:57 -07:00