5881 Commits

Author SHA1 Message Date
Anthony Fok
9ed48c1c9a Dockerfile: Run go install with -ldflags '-s -w'
This reduce the Docker image size from 27 MB to 20.5 MB.
2017-07-26 03:22:39 -06:00
Maik Ellerbrock
bfe0bfbbd1 Dockerfile: Reduce image size from 277MB to 27MB
"xtrem" awesome container size optimization
by using alpine:3.6 as base image
and by installing Go at build time.

See #3730 and #3738
2017-07-26 00:51:27 -06:00
Andrey S
fbdae08be4 Fix typo in content-management/taxonomies.md 2017-07-25 18:11:41 +02:00
Bjørn Erik Pedersen
66fab8d233 Make <title> less stuttery
Fixes https://github.com/gohugoio/gohugoioTheme/issues/58
2017-07-25 08:57:30 +02:00
Anthony Fok
b3cd4c2266 Remove old temp release notes 2017-07-24 16:35:12 -06:00
Andrey S
5589ba96c1 Fix typos in templates/lists.md 2017-07-24 19:53:50 +02:00
Bjørn Erik Pedersen
af3a0807e8 http > HTTP 2017-07-24 19:52:31 +02:00
Bjørn Erik Pedersen
b2af90ae96 Remove formatting in description of blog article 2017-07-24 19:50:59 +02:00
Bjørn Erik Pedersen
6e2e60a932 Add blog article about Netlify files 2017-07-24 19:43:43 +02:00
Bjørn Erik Pedersen
0bb6f2f28b Use title in archetype file 2017-07-24 18:43:56 +02:00
Bjørn Erik Pedersen
7b2490ff5c Get the Archetypes up to new spec 2017-07-24 18:33:00 +02:00
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
Bjørn Erik Pedersen
4aef494434 Adjust titles 2017-07-24 08:30:02 +02:00
Michael Henderson
362acdb26b Fix typo in quickstart
Change "relase" to "release"

See #80
2017-07-23 18:17:17 -06:00
Ryan Watters
c24405600d Remove inline icons from installation guide
Fixes #78
2017-07-24 01:00:19 +02:00
Bjørn Erik Pedersen
d2edcbc32d Revert "Fix links to Disqus template documentation"
This reverts commit 93e08e1956b5293b3005bbfe04ed2b304529a222.
2017-07-23 23:58:17 +02:00
Bjørn Erik Pedersen
622f49cf8e Add a full commands section at the quick start end 2017-07-23 23:52:28 +02:00
Bjørn Erik Pedersen
752f065bfa Fix server command in README 2017-07-23 23:20:37 +02:00
Tom Bennet
93e08e1956 Fix links to Disqus template documentation
Links were pointing at the Partials page - more useful to link directly to the Disqus section of Internal Templates page
2017-07-23 22:39:50 +02:00
Bjørn Erik Pedersen
5e0cfaa92b Adjust Linux install 2017-07-23 21:24:55 +02:00
Maik Ellerbrock
606d6a8c91 Dockerfile: Optimize Docker image size
Reduce Docker image size from 428 MB to 277 MB.

See #3674
2017-07-23 12:30:18 -06:00
Bjørn Erik Pedersen
d51397c2fe Fix broken link in Quick Start
Fixes #3729
2017-07-23 20:20:12 +02:00
Bjørn Erik Pedersen
1fb39846c8 Add /quickstart alias to quickstart 2017-07-23 18:45:48 +02:00
Bjørn Erik Pedersen
7440616b1b Add new and simpler quickstart
Fixes #75
2017-07-23 18:43:20 +02:00
digitalcraftsman
b3ec698681 Let page title correspond to function name replaceRE 2017-07-23 10:39:03 +02:00
digitalcraftsman
b44499c920 Add YouTube tutorial about taxonomies 2017-07-22 19:08:37 +02:00
Bjørn Erik Pedersen
88b9eb0ed9 Add RSS templates example 2017-07-22 15:10:56 +02:00
Bjørn Erik Pedersen
12e0495203 docs: Add RSS template lookup example 2017-07-22 15:05:43 +02:00
zuriar
6c0bde3f88 Update slice.md
Change word "alice" to "slice" in description
2017-07-22 09:27:20 +02:00
Jeremiah Valenzuela
6c212ea611 Reorder to match the following content order 2017-07-22 09:23:23 +02:00
Pieter
d212299277 Complete "content" spelling under theme components 2017-07-21 16:50:51 +02:00
Jake Howard
6cd33f6953 tpl: Use hash for cache key
Use a hash for the cache key, to fix 'file name too long' errors when retreiving from long urls

Fixes #3690
2017-07-21 13:10:11 +02:00
Bjørn Erik Pedersen
dbe63970e0 hugolib: Support reflinks starting with a slash
Fixes #3703
2017-07-21 13:08:32 +02:00
Bjørn Erik Pedersen
e4824eb3fe Fix the output shortcode and its usage
Passing the shortcode into the Markdown processor just to get pre and code tags does not make much sense.
2017-07-21 13:06:11 +02:00
Bjørn Erik Pedersen
0adfc94526 Add archetypes YouTube video 2017-07-21 12:58:48 +02:00
Anthony Fok
0c90e6d710 Change "hugodocs" to "hugoDocs" to match GitHub's default URL 2017-07-21 03:36:44 -06:00
YAJIE
638e9d9bb6 Fix double "your" typo in taxonomies.md
See gohugoio/hugoDocs#71
2017-07-21 03:15:06 -06:00
Vasyl Solovei
b60aa1a504 helpers: Add --trace to asciidoctor args
This will help to understand and fix errors by
seeing stacktrace of an error.

See #3714
2017-07-21 03:07:56 -06:00
Bjørn Erik Pedersen
ff433f9813 Add script to pull in docs changes 2017-07-21 11:01:13 +02:00
Bjørn Erik Pedersen
2c0d1ccdcd Squashed 'docs/' changes from b0470688..73f355ce
73f355ce Update theme
83ff50c2 Use example.com in examples
71292134 Add alias news > release-notes
2e15f642 Update theme
8eef09d2 Add Pygments configuration
572b9e75 Clean up the code shortcode use
a1b2fd3b Remove the code fence language codes
1473b1d9 Remove redundant text
b92c2042 Update theme
8f439c28 Edit contributing section in README
8bcf8a19 Add contributing section to README
4c44ee1c Fix broken content file
2bdc7710 Clarify .Data.Pages sorting in lists.md
092271c2 Use infinitive mood for main titles
b9b8abef Update theme to reflect change to home page content
b897b71b Change copy to use sentence case
fd675ee5 Enable RSS feed for sections
060a5e27 Correct movie title in taxonomies.md
6a5ca96a Update displayed site name for Hub
22f4b7a4 Add example of starting up the local server
d9612cb3 Update theme
a8c3988a Update theme
4198189d Update theme
12d6b016 Update theme
2b1c4197 Update theme
b6d90a1e Fix News release titles
cfe751db Add some build info to README

git-subtree-dir: docs
git-subtree-split: 73f355ce0dd88d032062ea70067431ab980cdd8d
2017-07-21 11:00:08 +02:00
Bjørn Erik Pedersen
b8dc15923d doc: Merge commit '2c0d1ccdcd95de0bddeb39dca2e4d08f0d8056d7' 2017-07-21 11:00:08 +02:00
Bjørn Erik Pedersen
f387cb1b38 doc: Merge commit '2c0d1ccdcd95de0bddeb39dca2e4d08f0d8056d7' 2017-07-21 11:00:08 +02:00
Michael Henderson
40566ec98e Remove ^M from file to make line-endings consistent 2017-07-21 02:41:07 -06:00
Bjørn Erik Pedersen
73f355ce0d Update theme 2017-07-21 09:17:01 +02:00
Bjørn Erik Pedersen
83ff50c2e0 Use example.com in examples
Avoid linking to existing domain yoursite.com.
2017-07-20 21:46:10 +02:00
Bjørn Erik Pedersen
7129213473 Add alias news > release-notes
See https://discourse.gohugo.io/t/release-notes-url/7524/5
2017-07-20 18:17:12 +02:00
Bjørn Erik Pedersen
2e15f64212 Update theme 2017-07-20 18:05:27 +02:00
Bjørn Erik Pedersen
8eef09d270 Add Pygments configuration
Closes #61
2017-07-20 11:51:45 +02:00
Bjørn Erik Pedersen
572b9e7590 Clean up the code shortcode use
* No markdown needed
* No code fence needed

See #61
2017-07-20 11:51:45 +02:00
Bjørn Erik Pedersen
a1b2fd3bdc Remove the code fence language codes
See #61
2017-07-20 11:51:45 +02:00