Bjørn Erik Pedersen
ccd2f4c32b
Prevent capitalized taxonomy labels
...
Fixes #1880
2016-03-03 21:54:23 +01:00
Bjørn Erik Pedersen
e85b821d3e
tpl: Fix broken chomp test
2016-03-03 21:24:21 +01:00
Bjørn Erik Pedersen
f223f17c76
tpl: Make chomp return template.HTML
2016-03-03 19:45:23 +01:00
Bjørn Erik Pedersen
daaf4eb330
tpl: Add integration tests for most of the template funcs examples in doc
2016-03-03 19:35:04 +01:00
Bjørn Erik Pedersen
80e1fd29ab
Log fsync errors
2016-03-01 16:38:56 +01:00
Bjørn Erik Pedersen
5b065a27a2
Some missing shortcode replacements
...
See #1904
2016-03-01 13:51:46 +01:00
Bjørn Erik Pedersen
7f682d7802
Fix shortcode handling in RST
...
Fixes #1904
2016-03-01 11:04:25 +01:00
Samuel Debruyn
cc38a40f4e
Docs: fix typo in tools section
2016-02-29 21:59:43 +01:00
digitalcraftsman
e2965a3507
Remove superfluous FontAwesome files
2016-02-29 21:53:28 +01:00
Bjørn Erik Pedersen
6b922750f3
Revert "Create template clone for late template execution"
...
This reverts commit 93b04e67f6
.
2016-02-28 12:15:33 +01:00
Bjørn Erik Pedersen
93b04e67f6
Create template clone for late template execution
...
Fixing some breaking blogs on Go 1.6
Fixes #1879
2016-02-28 11:51:51 +01:00
Bjørn Erik Pedersen
804603155f
Check for the presence of pages before setting dates
...
See #1903
2016-02-27 23:25:41 +01:00
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
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