Commit Graph
5719 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen 75cf324322 Set Date and Lastmod for main home page
Fixes #1903
2016-02-27 23:21:07 +01:00
Bjørn Erik Pedersen 1f61f40328 Use flagChanged in all places 2016-02-27 18:01:01 +01:00
digitalcraftsman 034fd4adc1 Add template function slice 2016-02-27 17:04:45 +01:00
digitalcraftsman c1f8b188f7 Add template function slice 2016-02-27 17:04:45 +01:00
Bjørn Erik Pedersen 9349a889e2 Do not try to find available port if set by user
He/she probably really meant it.

Fixes #1901
2016-02-27 16:58:42 +01:00
Thijs de Zoute 957b735fec Press: add "Comparison site built with Hugo" 2016-02-26 21:32:54 +01:00
Thijs de Zoute ff4ca99286 Press: add "Comparison site built with Hugo" 2016-02-26 21:32:54 +01:00
Bjørn Erik Pedersen 455df10752 Optimize replaceShortcodeTokens
We can of course skip reading the entire byte slice again and again.

This was a slip in the original implementation; functionally the same,
but is slightly faster, esp. for larger data sets with many shortcodes:

```
benchmark                             old ns/op     new ns/op     delta
BenchmarkReplaceShortcodeTokens-4     15505         14753         -4.85%

benchmark                             old allocs     new allocs     delta
BenchmarkReplaceShortcodeTokens-4     1              1              +0.00%

benchmark                             old bytes     new bytes     delta
BenchmarkReplaceShortcodeTokens-4     3072          3072          +0.00%
```
2016-02-25 23:50:43 +01:00
Bjørn Erik Pedersen 8375995378 Enlarge data in BenchmarkReplaceShortcodeTokens 2016-02-25 21:45:13 +01:00
Shekhar Gulati b83b45fdef Press: add tutorial written by Shekhar Gulati 2016-02-24 20:07:16 +01:00
Shekhar Gulati ac2eaca06d Press: add tutorial written by Shekhar Gulati 2016-02-24 20:07:16 +01:00
Marq Martí bc9f29ae76 Press: add article from sitelabs.es 2016-02-24 19:57:35 +01:00
Marq Martí c59bdc20af Press: add article from sitelabs.es 2016-02-24 19:57:35 +01:00
Akagi201 1a26dec049 Docs: fix typo in introduction.md 2016-02-24 19:43:05 +01:00
Akagi201 d1bf2f5435 Docs: fix typo in introduction.md 2016-02-24 19:43:05 +01:00
Wouter Spee ac892129ce Add cdnoverview.com to the showcase 2016-02-24 19:37:05 +01:00
Wouter Spee 086d6540c3 Add cdnoverview.com to the showcase 2016-02-24 19:37:05 +01:00
Paul Koppen 460702f0e8 Docs: remove .Taxonomies from Page variables
The property seems to have never existed on Pages.

Fixes #1865.
2016-02-24 19:22:53 +01:00
Paul Koppen 060f0206ee Docs: remove .Taxonomies from Page variables
The property seems to have never existed on Pages.

Fixes #1865.
2016-02-24 19:22:53 +01:00
Thijs de Zoute 1f8d065719 Docs: fix small typos in functions.md 2016-02-24 19:14:04 +01:00
Thijs de Zoute d607f4c7df Docs: fix small typos in functions.md 2016-02-24 19:14:04 +01:00
Ratson 5e83efe810 Docs: add "Minify Hugo Generated HTML" to press 2016-02-24 19:04:45 +01:00
Ratson 3749dc76f7 Docs: add "Minify Hugo Generated HTML" to press 2016-02-24 19:04:45 +01:00
Tatsushi Demachi e9853642e5 Listen channel before sending values to it
The 'results' channel is not listend before sending error values in a
loop checking IsRenderable or not. This fixes it.
2016-02-20 14:03:06 +09:00
Bjørn Erik Pedersen 253a618854 Go 1.6 is out! 2016-02-17 23:18:54 +01:00
David Roda 284e959fc4 Close file handle when finished reading file 2016-02-17 21:42:56 +01:00
digitalcraftsman 8c9be3e5b5 Docs: add hugo-lunr to the tools section 2016-02-16 23:14:22 +01:00
digitalcraftsman df17fae532 Docs: add hugo-lunr to the tools section 2016-02-16 23:14:22 +01:00
Bjørn Erik Pedersen 50182cd06b Remove superfluous Errorf 2016-02-16 02:05:59 +01:00
Bjørn Erik Pedersen c1e4309516 Clean up the trim template func test 2016-02-16 00:47:14 +01:00
Bjørn Erik Pedersen 8c84048033 Force full rebuild when site config changes
Fixes #1840
2016-02-14 15:16:55 +01:00
Henrique Dias ad176055d9 Export MainSite var
Fixes hacdias/caddy-hugo#46
2016-02-14 13:50:03 +01:00
Andrew Langhorn 33f9e5c4e7 Docs: clarify that Amazon WS is, actually, AWS
Amazon WS is an uncommon way of referring to Amazon Web Services, which
is usually referred to either by its full name, or as AWS.
2016-02-14 12:12:03 +01:00
Andrew Langhorn ce7c267140 Docs: clarify that Amazon WS is, actually, AWS
Amazon WS is an uncommon way of referring to Amazon Web Services, which
is usually referred to either by its full name, or as AWS.
2016-02-14 12:12:03 +01:00
Gustav Näslund 13d9454f78 Add gntech.se to the showcase 2016-02-14 12:03:57 +01:00
Gustav Näslund 4ecf019e2f Add gntech.se to the showcase 2016-02-14 12:03:57 +01:00
digitalcraftsman 4b8ccb2ce2 Docs: fix typo in YouTube shortcode description 2016-02-13 16:41:25 +01:00
digitalcraftsman 2b1ad54617 Docs: fix typo in YouTube shortcode description 2016-02-13 16:41:25 +01:00
Derek Perkins bac1ba4655 Fix spelling and go vet errors 2016-02-13 19:08:48 +08:00
digitalcraftsman 0d415e453b Link Gitter as Dev Chat in README 2016-02-13 12:04:36 +01:00
Anthony Fok 21b0aa8633 Restore the wercker status badge to original small size
Fix my brown paper bag bug in commit a0eec02.
Sorry for not double-checking before pushing!
2016-02-13 18:48:51 +08:00
Darrel Herbst cc4a6a8840 Add documentation for Google Analytics internal template
Fixes #1654
2016-02-13 11:41:21 +01:00
Darrel Herbst 06e90b1237 Add documentation for Google Analytics internal template
Fixes #1654
2016-02-13 11:41:21 +01:00
Anthony Fok a0eec02bd6 Set the wercker badge to track the aaster branch only 2016-02-13 18:39:38 +08:00
Cameron Moore 5e830cc06d Docs: fix Disqus shortname reference 2016-02-13 11:23:21 +01:00
Cameron Moore 207a574f0c Docs: fix Disqus shortname reference 2016-02-13 11:23:21 +01:00
digitalcraftsman 71fee9720d docs: Add guideline for showcase additions 2016-02-13 10:05:08 +08:00
digitalcraftsman cfbae7cea2 docs: Add guideline for showcase additions 2016-02-13 10:05:08 +08:00
Anthony Fok c669e9cff0 Crop, resize and optimize shelan-tn.png
The original image was 2055px × 1252px, which was oversized
and did not fit the required dimension of 600px × 400px
(3:2 aspect ratio).

To fix, the image was cropped and resized to the required dimension,
and was further optimized:

    $ pngquant --nofs -v --speed 1 --quality 65-80 shelan-tn.png
    $ optipng -o7 -zm1-9 shelan-tn-or8.png
    $ mv shelan-tn-or8.png shelan-tn.png

reducing its filesize from 334125 bytes to 26929 bytes.

See #1831
2016-02-13 00:31:25 +08:00
Anthony Fok 4a15051e4c Crop, resize and optimize shelan-tn.png
The original image was 2055px × 1252px, which was oversized
and did not fit the required dimension of 600px × 400px
(3:2 aspect ratio).

To fix, the image was cropped and resized to the required dimension,
and was further optimized:

    $ pngquant --nofs -v --speed 1 --quality 65-80 shelan-tn.png
    $ optipng -o7 -zm1-9 shelan-tn-or8.png
    $ mv shelan-tn-or8.png shelan-tn.png

reducing its filesize from 334125 bytes to 26929 bytes.

See #1831
2016-02-13 00:31:25 +08:00