fee9ee72a6
tpl: Add missing arg to Fatalf
2016-08-20 20:52:14 +01:00
20c4311df4
Switch to a more up to date TOML library
...
Fixes #2089
2016-08-20 20:33:06 +01:00
81f04ef4f0
docs: Clarify Usage
2016-08-19 14:38:20 -04:00
2530087ab1
docs: Add Spanish video tutorial by Verónica López to press.md
2016-08-19 08:26:26 -06:00
715d4425ad
hugolib: Use named keys in composite literals
...
Make `go vet` great again
2016-08-19 12:22:19 +01:00
c5d072990a
docs: Just a small grammar fix in quickstart.md
2016-08-18 20:58:29 +02:00
3ce9de7672
docs: Follow through on watch default
2016-08-18 20:55:05 +02:00
68c8e0e23d
docs: Correct name of release archives for OS X
...
Fixes #2341
2016-08-18 20:49:13 +02:00
be429d2268
docs: Correct all erroneous swaps of "it's" and "its"
2016-08-18 20:42:40 +02:00
8474b9defe
docs: Improve section 'Why did you write Hugo?'
2016-08-18 20:33:57 +02:00
de1ca477b8
docs: Fix URLs in examples sites with path prefix
...
When baseurl ist something like "http://example.com/hugo/ " a link to
"/tags/..." does not work. Therefore I fixed the examples so that they
also work in cases where the website is not saved at the server's root.
See also https://discuss.gohugo.io/t/how-shall-i-link-a-taxonomy-page/3920
2016-08-18 20:15:37 +02:00
f914774f6b
Remove broken Bitdeli badge from README.md
2016-08-16 21:13:21 -06:00
5498a1bd56
tpl: Return all errors from casting
...
Most non-boolean template functions should return errors.
Fixes #2354
2016-08-16 21:42:38 -05:00
d3627b1747
Simplify Travis build
2016-08-16 17:01:59 -05:00
d72c454f78
Fix command for getting hugo in CONTRIBUTING.md
2016-08-16 08:56:45 -05:00
97c37732b4
Add a global Reset func
...
So we can do some benchmarking.
2016-08-16 12:50:26 +02:00
2175ea5b06
Bump Travis to Go 1.7
2016-08-16 10:05:10 +02:00
661c9787ea
commands: Suppress 'missing static' error
...
Fixes #2311
2016-08-14 00:35:43 +02:00
f6d4801ba4
Skipt Twitter test in short mode
2016-08-13 18:50:06 +02:00
09612f7af8
tpl: Fix faulty ordering of relURL test cases
2016-08-13 00:36:15 +02:00
88dcbc6efa
tpl: Make absURL and relURL accept anything
2016-08-13 00:31:50 +02:00
26725515c8
docs: Convert toml to yaml in config overview
2016-08-12 13:37:30 +02:00
39df7724ad
source: Normalize file name to NFC
...
Fixes #2203
2016-08-08 20:25:00 +02:00
b33bfd40be
docs: Add doc for time template func
2016-08-08 12:28:41 +02:00
f2faae0805
Remove maximeguitare.com from showcase
2016-08-06 23:37:11 +02:00
0d9c0677f6
docs: Add rdegges.com to the showcase
2016-08-06 15:06:10 +02:00
914e4d8535
tpl: Fix typo in FindRE test
2016-08-04 14:37:15 +02:00
93f3a85bf8
Fix the time template func test
...
By making it not depend on the locale setup.
2016-08-04 10:36:44 +02:00
70544f9e62
tpl: Add time template func
...
Fixes #2328
2016-08-04 01:55:24 +02:00
d7f364c27e
Fix for meminterval not using specified interval
...
Hugo seems to ignore the meminterval I specify and always uses it's default of 100ms.
This seems to be because Hugo tries to take the meminterval from the command line
(an Int) and converts it to a String and passes it to time.ParseDuration. If you pass a
different meminterval (such as `1000` as above) it will fail (time.ParseDuration requires
some units) and use the default instead.
Changed `meminterval` to be a String and added better documentation for valid time units.
Resolves: #2325
2016-08-02 19:48:07 +02:00
5824e80932
docs: Add romansilin.com to the showcase
2016-07-31 13:09:25 +02:00
b426c20e14
Return specific error on walk path too short
2016-07-30 22:32:03 +02:00
15b6693541
Adjust the sanity check to path length 4
2016-07-30 20:07:35 +02:00
94d998989d
Add sanity check to the file walker
...
As more tests now hit the virtual filesystem, add this check
to prevent any walking of the entire file system.
2016-07-30 19:54:07 +02:00
802d43cbfd
Disable Go 1.5.4 in Travis
...
There is one failing test there now, a odd filesystem issue.
Since Go 1.7 is only "days" away, I'm not spending time debugging this.
2016-07-30 19:37:15 +02:00
285807ba7a
Take 2: Load templates from the Afero source fs
...
See #2321
2016-07-30 17:28:40 +02:00
ec23aa998a
Load templates from the Afero source fs
...
Fixes #2321
2016-07-30 17:16:04 +02:00
5f5fccbc36
Do not return empty theme dirs
...
This prevents reading data etc. from the root.
Fixes #2320
2016-07-30 16:21:57 +02:00
4ddd5361c1
Use the Afero source fs where relevant
...
Fixes #2319
2016-07-30 15:37:03 +02:00
a0859dc672
Make LazyFileReader use the Afero source fs
...
Fixes #2317
2016-07-30 15:21:02 +02:00
9489272681
Handle errors during filesystem walk
...
Fixes #2318
2016-07-30 14:03:38 +02:00
0087beefe1
docs: Add tumblr2hugomarkdown to tools section
2016-07-29 20:37:32 +02:00
0d0a7596a2
docs: Add tumblr-importr to tools section
2016-07-29 20:36:10 +02:00
5b40eeede1
examples: Add example for translation files
2016-07-29 20:21:52 +02:00
04889a5ee6
docs: Document .File variables for pages
...
Fixes #2154 .
2016-07-29 20:12:28 +02:00
333646c52d
docs: Drop .isDraft to new line
...
Bring **.isDraft** onto a new line, to be consistent with the other list items.
2016-07-29 20:10:40 +02:00
e3e1f7a2bb
docs: Add a link to hugo-openapispec-shortcode
...
Added a link to the Hugo Open API Spec shortcode which allows you to embed OAI Spec (formerly known as Swagger) in your site.
2016-07-29 20:07:46 +02:00
ddd5a92240
docs: Removed comma from json example.
...
The comma causing invalid json and hugo not compile the file based on the same example.
2016-07-29 20:01:23 +02:00
df0a4534cd
docs: Add missing configuration option disableHugoGeneratorInject
2016-07-29 19:58:25 +02:00
9c458657da
docs: Add weilinshi.org to the showcase
2016-07-29 19:51:28 +02:00