Bjørn Erik Pedersen
1f61f40328
Use flagChanged in all places
2016-02-27 18:01:01 +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
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
ac2eaca06d
Press: add tutorial written by Shekhar Gulati
2016-02-24 20:07:16 +01:00
Marq Martí
c59bdc20af
Press: add article from sitelabs.es
2016-02-24 19:57:35 +01:00
Akagi201
d1bf2f5435
Docs: fix typo in introduction.md
2016-02-24 19:43:05 +01:00
Wouter Spee
086d6540c3
Add cdnoverview.com to the showcase
2016-02-24 19:37:05 +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
d607f4c7df
Docs: fix small typos in functions.md
2016-02-24 19:14:04 +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
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
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
4ecf019e2f
Add gntech.se to the showcase
2016-02-14 12:03:57 +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
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
207a574f0c
Docs: fix Disqus shortname reference
2016-02-13 11:23:21 +01:00
digitalcraftsman
cfbae7cea2
docs: Add guideline for showcase additions
2016-02-13 10:05:08 +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
Anthony Fok
2d11551c53
Ignore temporary file "4913" created by Vim
2016-02-13 00:03:29 +08:00
Jörgen Nilsson
42f43ad433
Add jorgennilsson.com to showcases
2016-02-12 15:24:22 +01:00
Morton Fox
28e6e19d0a
Fix git commit blog article link
...
The blog article linked in the README misses the trailing forward slash
which produces a 404 error instead of redirecting to the correct URL.
2016-02-10 14:55:25 +01:00
Bjørn Erik Pedersen
8fe1070872
Prevent confusing template errors when seq is nil
...
The common is the `where` func and this:
```
panic: reflect: call of reflect.Value.Type on zero Value [recovered]
panic: reflect: call of reflect.Value.Type on zero Value
```
2016-02-09 19:02:05 +01:00
Tatsushi Demachi
2b3b90a6df
Add test for Hugo hanging up with empty content
...
This adds a test for the issue #1797 and its fix in 68e2e63
.
2016-02-08 20:55:19 +09:00
shelan
d1b0290fef
Add shelan.org to showcase page
2016-02-07 23:38:51 +01:00
Bjørn Erik Pedersen
2b0fad79b7
tpl: Add two more doArithmetic test cases
2016-02-07 23:02:46 +01:00
Bjørn Erik Pedersen
f90b45f7f3
tpl: Test with nil value in first, last, after and shuffle
2016-02-07 21:16:43 +01:00
Bjørn Erik Pedersen
3cc468a82f
tpl: Add missing test variants for slicestr
2016-02-07 20:14:24 +01:00
Bjørn Erik Pedersen
05c8bccf84
hugolib: Add test for parseSitemap
2016-02-07 15:56:56 +01:00
Bjørn Erik Pedersen
b3c2d90ba2
tpl: Add missing substr test variants
2016-02-07 15:22:57 +01:00
Bjørn Erik Pedersen
4dcb63c2f6
tpl: Add highlight test
2016-02-07 15:15:27 +01:00
Bjørn Erik Pedersen
0a8583a451
tpl: Add missing base64 tests
2016-02-07 14:58:23 +01:00
Bjørn Erik Pedersen
0888ddd01f
tpl: Add tests for word and rune counting
2016-02-07 14:51:06 +01:00
Bjørn Erik Pedersen
ec49dbb8f5
tpl: Consolidate and complete the Inflect tests
2016-02-07 14:37:04 +01:00
Bjørn Erik Pedersen
1e8b4d9cde
Add some missing doArithmetic test cases
2016-02-07 14:20:25 +01:00
Bjørn Erik Pedersen
0f6c8439b9
Add missing menu tests
2016-02-07 13:43:42 +01:00
Bjørn Erik Pedersen
c462440dcd
Add Page tests for simple methods
2016-02-07 13:32:08 +01:00