Mattias Wadman
5d50c46482
Chomp Unicode BOM if present
...
Useful if using or sharing files with users that use editors that
append a unicode byte order marker header (like Windows notepad).
This will still assume files are UTF-8 encoded.
Closes #2075
2016-04-14 10:46:27 +02:00
Bjørn Erik Pedersen
d48b986c45
Revert "tpl: Extend where to iterate over maps"
...
Committed by accident.
This reverts commit 0141a02160
.
2016-04-13 19:13:33 +02:00
Bjørn Erik Pedersen
dc8659c539
Update Travis config to Go 1.5.4 and 1.6.1
2016-04-13 16:17:43 +02:00
Cameron Moore
0141a02160
tpl: Extend where to iterate over maps
...
Refactor and extend where to iterate over maps.
2016-04-13 11:43:06 +02:00
Bjørn Erik Pedersen
206440eef2
Fix broken tests
2016-04-12 19:18:02 +02:00
Bjørn Erik Pedersen
88759eecf7
docs: Add plainIDAnchors change to release notes
2016-04-12 18:39:07 +02:00
Bjørn Erik Pedersen
0d9a5f8023
docs: Update default for plainIDAnchors
2016-04-12 18:36:45 +02:00
Bjørn Erik Pedersen
06772eefcd
Default to plainIDAnchors
...
Fixes #2057
2016-04-12 18:34:46 +02:00
Bjørn Erik Pedersen
c3d28d2897
Revert "Add Node.ID"
...
This reverts commit 5ef52294f9
.
2016-04-12 18:11:52 +02:00
Bjørn Erik Pedersen
39c9ae3108
Revert "Use Node.ID for anchor ID"
...
This reverts commit cd558958a0
.
2016-04-12 18:11:24 +02:00
Bjørn Erik Pedersen
2468b10eb3
docs: Fix example for Param method
...
Fixes #2070
2016-04-11 13:26:33 +02:00
Bjørn Erik Pedersen
cd558958a0
Use Node.ID for anchor ID
...
Fixes #2057
2016-04-11 13:17:25 +02:00
Bjørn Erik Pedersen
5ef52294f9
Add Node.ID
...
Fixes #2071
2016-04-11 11:49:02 +02:00
Robert Basic
37fb2d43e5
helpers: Ignore cache for Pygments when flag set
...
When the --ignoreCache flag is set to true, do not write and read
the Pygments results to/from the cache directory.
Fixes #2066
Closes #2068
2016-04-10 20:55:57 +02:00
Bjørn Erik Pedersen
c0cf1a7e37
Fix section menus for lazy blogger
...
IsMenuCurrent was always returning false for the top level entries.
Fixes #2065
2016-04-10 13:49:32 +02:00
Bjørn Erik Pedersen
dde967d8ca
hugofs: Add package doc
2016-04-10 01:36:53 +02:00
Bjørn Erik Pedersen
16ee856636
create: Add package doc
2016-04-10 01:36:03 +02:00
Bjørn Erik Pedersen
257dee5356
bufpool: Add package doc
2016-04-10 01:34:15 +02:00
Bjørn Erik Pedersen
4d34a98a28
Add GoDocs badge
2016-04-10 00:14:16 +02:00
Bjørn Erik Pedersen
ff7eec2f48
docs: Regenerate the commands docs
2016-04-09 23:01:55 +02:00
digitalcraftsman
b7efbdc12f
hugolib: Add option to disable rendering of 404 page
...
Fixes #1889
Closes #2037
2016-04-09 20:25:59 +02:00
nitoyon
72bda5ad26
Move section initialization to Site.assembleSections
...
Closes #1527
2016-04-09 20:13:35 +02:00
Bjørn Erik Pedersen
8fe48a6576
Fix potential data race in test
2016-04-09 14:30:22 +02:00
Göran Svensson
39c74b70dc
docs: Add commercial services to the "Tools" section
2016-04-09 14:03:45 +02:00
Aditya Bhargava
51ee3fc735
docs: Document how to install dependencies for tests
...
Fixes #919
2016-04-09 13:52:00 +02:00
JoeArizona
88a07b7564
docs: Fix missing step in Windows version check instructions
...
The procedure Start button --> Settings --> About was missing a step. Corrected it to: Start --> Settings --> System --> About. Also replaced ASCII arrows (-->) with Unicode right arrow character (U+2192).
2016-04-09 13:43:40 +02:00
Erik Ebsen
65f9427031
docs: Document Go 1.6's new ability to trim whitespace
2016-04-09 13:21:23 +02:00
Bjørn Erik Pedersen
e4d328d835
docs: Fix Go version in install guide
2016-04-09 13:16:56 +02:00
digitalcraftsman
ac1ec5c72c
docs: Remove remaining Mercurial references
2016-04-09 12:40:58 +02:00
ypnos
9f6b5ad3b4
Save auto-detected markup type in Page.Markup
...
If Page.Markup was not set by the user, it will now be set after
guessing from the file extension. This means, Page.Markup will be set in
any case. It can be used by a theme to differentiate between markup
types.
Fixes #1950
2016-04-09 00:48:53 +02:00
digitalcraftsman
e6e98bf52d
docs: Remove Mercurial from contribution tutorial
...
Fixes #2064
2016-04-08 21:52:50 +02:00
digitalcraftsman
6c900380dc
tpl: Add replaceRE to the "smoke tests"
...
Fixes #2063
2016-04-08 21:36:35 +02:00
Bjørn Erik Pedersen
f2ff77f3ac
Make Hugo build without Mercurial
...
By creating a fork of the Bitbucket inflect repo. It hasn't changed since 2013,
so it must be considered pretty stable.
Fixes #2062
2016-04-08 21:11:44 +02:00
digitalcraftsman
ebf3cef162
docs: Add "How to contribute to Hugo" tutorial
2016-04-08 19:18:58 +02:00
Nik Nyby
970f15cf7a
docs: Use HTTPS links in README where appropriate
2016-04-08 19:14:08 +02:00
digitalcraftsman
d3e829508b
commands: Add helpful instuctions after "hugo new site"
...
Fixes #1164
2016-04-08 18:03:49 +02:00
Bjørn Erik Pedersen
1c3c148b38
hugolib: Un-export internal Site-methods
...
These are obviously internal and for the most part undocumented, creating lots of GoLint warnings.
See #1160
See #2014
2016-04-08 17:55:23 +02:00
Julien Chien
16ad628114
docs: Fix references to section list templates
...
Fixes #2032
2016-04-08 10:15:48 -05:00
Anthony Fok
6d2898b33b
docs: Correct date for proper sorting in showcase
2016-04-08 20:23:10 +08:00
Bjørn Erik Pedersen
1873826651
docs: Add one more quote
2016-04-08 00:06:39 +02:00
Bjørn Erik Pedersen
ef933e4a7f
docs: Limit the quotes on front page to the last two years
...
We should get some new ones in there.
Also shuffle the order. This also means no merging into 0.15-docs ...
Which also means we should get a release out there ... soon!
See #2055
Also See https://github.com/BurntSushi/toml/issues/129 for an explanation to the little bit ugly dates.
2016-04-07 23:46:46 +02:00
Robert Basic
40f62a863c
docs: Use data folder for website carousel
...
Fixes #2055
2016-04-07 22:50:38 +02:00
Sven Dowideit
1648e327c0
Document and clean SourceRelativeLinksEval code
2016-04-07 20:10:38 +02:00
Bjørn Erik Pedersen
819271cb78
Re-export the methods used in page group tests
2016-04-07 18:44:58 +02:00
Bjørn Erik Pedersen
3950b1375c
hugolib: Camelcase ALL_CAPS vars and const in tests
...
See #2014
2016-04-07 16:10:41 +02:00
Bjørn Erik Pedersen
05b888877d
huglib: Add even more missing GoDoc
...
See #2014
2016-04-07 16:05:23 +02:00
Bjørn Erik Pedersen
85bcac530a
source: Add missing GoDoc in File
...
See #2014
2016-04-07 15:44:53 +02:00
Bjørn Erik Pedersen
ddd02b2f6a
hugolib: Camel-case ALL_CAPS const in test
2016-04-07 15:22:41 +02:00
Bjørn Erik Pedersen
98ee8c3f7b
hugolib: Add GoDoc to pageGroup.go
...
See #2014
2016-04-07 15:21:41 +02:00
Bjørn Erik Pedersen
57c347e4cc
hugofs: Fix GoDoc
2016-04-07 13:56:11 +02:00