* Add news content
* Switch to new home page
* Move docs home page to a new page
* Switch to home page content
* Adjust global menu: remove showcase
* Remove unneeded portion of the front matter
* Remove old theme
* Update content for new theme
* Fix content to new theme
* Move layouts into theme
* Move classes to config
* [WIP] theme
* [WIP] inline critical CSS
* Add some notes on the [WIP] critical CSS feature
* Make theme changes for themes site
* Import theme updates from themes site
* [WIP] theme prev/next links
* Revert critical CSS tests
Didn't move the needle on a 20kb (gzipped) stylesheet.
First view speed index is 1008 without CSS.
* Not using docsnav data file
* Backdate these articles so we keep them but they don't show up on top
* Change Twitter handle to work with Hugo's internal templates
plus a few minor clean-ups
* Update theme (change Twitter handle in Follow link)
See PR rdwatters/hugo-docs-concept#120
Assets like screenshots are used in content files such as
tutorials. This commit moves these assets out of the theme
into the static folder in the root directory.
This way the theme and content files become independent from
each other.
See PR rdwatters/hugo-docs-concept#123
Looks to be slightly slower with the low number of section pages, but the 1000 regular pages seem to add value.
```
benchmark old ns/op new ns/op delta
BenchmarkGetPage-4 97.7 145 +48.41%
BenchmarkGetPageRegular-4 7933 161 -97.97%
benchmark old allocs new allocs delta
BenchmarkGetPage-4 0 0 +0.00%
BenchmarkGetPageRegular-4 0 0 +0.00%
benchmark old bytes new bytes delta
BenchmarkGetPage-4 0 0 +0.00%
BenchmarkGetPageRegular-4 0 0 +0.00%
```
When we know to look into the index pages collection, do that:
```
benchmark old ns/op new ns/op delta
BenchmarkGetPage-4 51483 7072 -86.26%
benchmark old allocs new allocs delta
BenchmarkGetPage-4 71 71 +0.00%
benchmark old bytes new bytes delta
BenchmarkGetPage-4 2648 2648 +0.00%
```
This commit also returns an error if .Site.GetPage is called with the regular Page Kind, as that is currently not supported.
Fixes#3503
The unmaintained Rango frontend and the Hugopit "experiment" should be removed from the Hugo Tools/Frontends section of the documentation as they are unusable.
Rango can mess up with other dependencies installed in the Go Path as reported here:
https://github.com/stayradiated/rango/issues/4
Hugopit's developer himself stated that this is an unmaintained experiment and he seemed a bit surprised that it is included in Hugo's documentation over here: https://github.com/sjardim/Hugopit/issues/3
The unmaintained Rango frontend and the Hugopit "experiment" should be removed from the Hugo Tools/Frontends section of the documentation as they are unusable.
Rango can mess up with other dependencies installed in the Go Path as reported here:
https://github.com/stayradiated/rango/issues/4
Hugopit's developer himself stated that this is an unmaintained experiment and he seemed a bit surprised that it is included in Hugo's documentation over here: https://github.com/sjardim/Hugopit/issues/3