Bjørn Erik Pedersen f401d69b49 Load CSS and JS via HTTP/2 server push
See https://www.netlify.com/blog/2017/07/18/http/2-server-push-on-netlify/

```
▶ nghttp -ans https://deploy-preview-83--gohugoio.netlify.com/
***** Statistics *****

Request timing:
  responseEnd: the  time  when  last  byte of  response  was  received
               relative to connectEnd
 requestStart: the time  just before  first byte  of request  was sent
               relative  to connectEnd.   If  '*' is  shown, this  was
               pushed by server.
      process: responseEnd - requestStart
         code: HTTP status code
         size: number  of  bytes  received as  response  body  without
               inflation.
          URI: request URI

see http://www.w3.org/TR/resource-timing/#processing-model

sorted by 'complete'

id  responseEnd requestStart  process code size request path
 13   +199.52ms      +1.22ms 198.30ms  200  42K /
  4   +404.60ms *   +69.97ms 334.62ms  200 102K /dist/main.css
  2   +484.93ms *   +69.63ms 415.30ms  200 131K /dist/app.bundle.js
```

Compare that to the live site:

```
▶ nghttp -ans https://gohugo.io/
***** Statistics *****

Request timing:
  responseEnd: the  time  when  last  byte of  response  was  received
               relative to connectEnd
 requestStart: the time  just before  first byte  of request  was sent
               relative  to connectEnd.   If  '*' is  shown, this  was
               pushed by server.
      process: responseEnd - requestStart
         code: HTTP status code
         size: number  of  bytes  received as  response  body  without
               inflation.
          URI: request URI

see http://www.w3.org/TR/resource-timing/#processing-model

sorted by 'complete'

id  responseEnd requestStart  process code size request path
 13   +596.97ms      +2.54ms 594.43ms  200  42K /
 15   +606.87ms    +403.50ms 203.37ms  200  15K /files/muli-latin-200.woff2
 2`1   +790.39ms    +403.51ms 386.88ms  200  20K /dist/main.css
 23      +1.14s    +596.00ms 544.48ms  200  42K /dist/app.bundle.js
 19      +1.14s    +403.50ms 737.99ms  200  15K /files/muli-latin-800.woff2
 17      +1.14s    +403.50ms 738.01ms  200  15K /files/muli-latin-400.woff2
```
2017-07-24 18:05:24 +02:00
2017-07-24 08:30:02 +02:00
2017-07-22 15:10:56 +02:00
2017-06-23 08:10:19 +02:00
2017-06-15 10:55:39 -05:00
2017-07-12 07:58:04 +02:00
2017-07-16 23:17:54 +02:00
2017-07-23 23:20:37 +02:00
2017-07-20 11:51:45 +02:00

Hugo Docs

Documentation site for Hugo, the very fast and flexible static site generator built with love in GoLang.

Contributing

We welcome contributions to Hugo of any kind including documentation, suggestions, bug reports, pull requests etc. Also check out our contribution guide. We would love to hear from you.

Note that this repository contains solely the documentation for Hugo. For contributions that aren't documentation-related please refer to the hugo repository.

Pull requests shall only contain changes to the actual documentation. However, changes on the code base of Hugo and the documentation shall be a single, atomic pull request in the hugo repository.

Build

To view the documentation site locally, you need to clone this repository with submodules:

git clone --recursive https://github.com/gohugoio/hugoDocs.git

Or if you already have a clone locally:

git submodule update --init

Also note that the documentation version for a given version of Hugo can also be found in the /docs sub-folder of the Hugo source repository.

Then to view the docs in your browser, run Hugo and open up the link:

▶ hugo server

Started building sites ...
.
.
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
Languages
HTML 79%
JavaScript 10.8%
CSS 10.2%