This removes the branch based context of "context.main" which would be triggered
and override any other contexts even during the PR cycle. The assumption here is
that "production" context is marked appropriately on Netlify admin UI, and once
it's in place, this should have the same effect to ensure we do not publish any
draft or future date posts.
* Fixed flag deprecations and updated Hugo version to latest
* Removed deprecated flag from css.html
* Includes fix for Hindi and Russian
Signed-off-by: mbianchidev <matteo@mb-consulting.dev>
* Update netlify.toml
Applied node update (from my other PR)
Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
---------
Signed-off-by: mbianchidev <matteo@mb-consulting.dev>
Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
This change updates how we run Hugo AND changes the logic for checking
whether a page should be indexable (copied with a backport from upstream
Docsy).
The improvements include:
- timezone-aware date formatting
- if getJSON() errors during a build, we can now ignore it
- You can set Hugo configuration via environment variables even if
snake_case.
* Add Docsy, required packages and config
* Apply Docsy integration work to k8s website
This encompasses significant changes to the style system, layout files,
as well as changes to some of the static assets. To examine this work
and the iterations that were performed, the original repository can be
found at https://github.com/gearbox-built/kubernetes-hugo.git
* Address issues found in review
The styling and positioning of the header, footer, some shortcodes and
main container elements are improved. A new partial is added for
favicons. The sidebars, as well as inner table of contents, have been
altered for better positioning and rendering of content. Localization
has also been addressed.
* Enable announcements
The recent Black Lives Matter announcement surfaced issues which have
been addressed.
* Update Hugo version and apply HTML minification to production builds
* Use full flag names for clarity
* Remove Hugo installation logic out of Travis config and into Makefile
* Add Hugo version checking script
* Fix Netlify config version
* kubeadm GA blog post
* Change file name and add post metadata
* Update CSS for blog post tables
* More formatting and wording changes
* Change build process to allow for displaying future blog posts
* Add links to command documentation
* Change blog post date and address PR feedback
* More wording updates
* Add basic header-checking function
* Add Slack notification logic
* Modify Netlify Functions setup
* Rework function logic
* Add missing dependencies
* Remove package-lock.json from Git
* Separate header checking function
* Isolate env check into a separate function
The relevant fix for kubernetes.io is the "Page last modified on" line (Git revision info), which in this version now works correctly across languages.
* Update to Hugo 0.46
This will only do the SASS building once for every languages (English and Chinese). For the Kubernetes site, this is mostly about speed.
* netlify: Simplify setup
Remove duplicate version defintions etc.
* 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