brevno-suite/hugo
9 years agoAdd FxSiteCompat.com to Showcase
Kohei Yoshino [Tue, 8 Sep 2015 23:50:22 +0000 (19:50 -0400)]
Add FxSiteCompat.com to Showcase

9 years agofix showcase to render properly
spf13 [Wed, 9 Sep 2015 02:52:24 +0000 (22:52 -0400)]
fix showcase to render properly

9 years agoAdding RichardSumilang.com to the showcases.
Richard Sumilang [Mon, 7 Sep 2015 07:17:45 +0000 (00:17 -0700)]
Adding RichardSumilang.com to the showcases.

9 years agoDocs: Add Humboldtux.net to Showcase page
Benoit Benedetti [Sun, 6 Sep 2015 18:30:34 +0000 (20:30 +0200)]
Docs: Add Humboldtux.net to Showcase page

9 years agoDocs: Add new french mag article by @humboldtux to Press page
Benoit Benedetti [Sun, 6 Sep 2015 18:12:19 +0000 (20:12 +0200)]
Docs: Add new french mag article by @humboldtux to Press page

9 years agoAdded details about generated files and development flows
jlengstorf [Sat, 5 Sep 2015 13:38:55 +0000 (15:38 +0200)]
Added details about generated files and development flows

9 years agoAdd a 404.html file if a new theme is created
digitalcraftsman [Fri, 4 Sep 2015 11:43:09 +0000 (13:43 +0200)]
Add a 404.html file if a new theme is created

9 years agoUpdate organization.md
Isaac Gregson [Fri, 4 Sep 2015 09:37:30 +0000 (12:37 +0300)]
Update organization.md

Increases clarity on the different between `section` and `type`.

The current `section` information here is wrong (sections can *not* be specified in front matter). This caused quite the headache. This change fixes this and also adds `type`, since it *can* be specified in front matter.

9 years agoshowcase layout improved when thumbnails are different proportions
spf13 [Tue, 8 Sep 2015 15:23:14 +0000 (11:23 -0400)]
showcase layout improved when thumbnails are different proportions

9 years agoAdd NoDesk to Showcase
sergeant [Wed, 26 Aug 2015 21:01:12 +0000 (23:01 +0200)]
Add NoDesk to Showcase

9 years agoAdd NoDesk to Showcase
sergeant [Wed, 26 Aug 2015 20:37:29 +0000 (22:37 +0200)]
Add NoDesk to Showcase

9 years agoDescribe the use of custom archetypes in the docs
digitalcraftsman [Mon, 24 Aug 2015 11:29:45 +0000 (13:29 +0200)]
Describe the use of custom archetypes in the docs

9 years agoAdd GreenITGlobe website for showcases page
Karim Ali [Mon, 24 Aug 2015 19:10:49 +0000 (21:10 +0200)]
Add GreenITGlobe website for showcases page

9 years agoAdd Chinese Grammar to showcase
Hugh Grigg [Fri, 21 Aug 2015 14:46:30 +0000 (15:46 +0100)]
Add Chinese Grammar to showcase

9 years agoDocs: Add new blog post by @CoderZh to Press page
Anthony Fok [Tue, 1 Sep 2015 18:06:34 +0000 (12:06 -0600)]
Docs: Add new blog post by @CoderZh to Press page

9 years agoAdd config option "disablePathToLower"
chrongzhang [Tue, 1 Sep 2015 12:53:25 +0000 (20:53 +0800)]
Add config option "disablePathToLower"

Enabling this prevents lowercasing of the path/url.

Fixes #557

9 years agoCorrect check of published boolean
Jeff Hodges [Sun, 30 Aug 2015 22:51:25 +0000 (15:51 -0700)]
Correct check of published boolean

9 years agoAdd undocumented published setting to front matter
Jeff Hodges [Sun, 2 Aug 2015 06:02:20 +0000 (23:02 -0700)]
Add undocumented published setting to front matter

A new "published" setting that is the opposite of "draft" is added and
left intentionally undocumented.

This setting comes from jekyll and eases the transition to hugo
greatly. We leave it undocumented so that folks don't rely on it, but
also don't shoot themselves in the foot during a jekyll migration.

The foot-shooting occurs if they have only a few documents that were
drafts ("published: false") in the jekyll version of their site and
don't notice that they were published in the migration to hugo.

9 years agoUnexport FileAndExt
Bjørn Erik Pedersen [Wed, 26 Aug 2015 19:29:32 +0000 (21:29 +0200)]
Unexport FileAndExt

If needed outside helpers, create an exported file path (FilePathAndExt?)  and/or a url version.

9 years agoPolish 0.15 release notes
Bjørn Erik Pedersen [Sun, 23 Aug 2015 13:14:48 +0000 (15:14 +0200)]
Polish 0.15 release notes

9 years agoAdd first draft of Hugo 0.15 Release Notes
Bjørn Erik Pedersen [Sun, 23 Aug 2015 12:20:14 +0000 (14:20 +0200)]
Add first draft of Hugo 0.15 Release Notes

9 years agoUse LazyFileReader for reading file contents
Tatsushi Demachi [Sun, 16 Aug 2015 03:30:22 +0000 (12:30 +0900)]
Use LazyFileReader for reading file contents

Simple ioutil.ReadFile is used for reading file contents but it reads
all of the file contents and copies them into the memory and is run in a
single goroutine. It causes much memory consumption at copying media
files in content directory to publish directory and it is not good at
performance.

This improves the both issue by replacing ReadFile with LazyFileReader.

It postpones reading the file contents until it is really needed. As the
result, actual file read is run in parallelized goroutine. It improves
performance especially in a really big site.

In addition, if this reader is called from io.Copy, it does not copy the
file contents into the memory but just copies them into destination
file. It improves much memory consumption issue when the site has many
media files.

Fix #1181

9 years agoAdd LazyFileReader type to source library
Tatsushi Demachi [Sat, 15 Aug 2015 15:06:39 +0000 (00:06 +0900)]
Add LazyFileReader type to source library

LazyFileReader is an io.Reader implementation to postpone reading the
file contents until it is really needed. It is introduced for improving
performance and memory consumption at reading media files in content
directory.

9 years agoUpdate Travis for Go 1.5
Bjørn Erik Pedersen [Fri, 21 Aug 2015 07:17:53 +0000 (09:17 +0200)]
Update Travis for Go 1.5

9 years agoFix -ldflags for Go 1.5
Andrew Carter [Thu, 20 Aug 2015 20:48:42 +0000 (13:48 -0700)]
Fix -ldflags for Go 1.5

Use correct form -X <name>=<value> for Go 1.5

9 years agoFix typo, "delemiters" -> "delimiters"
Icaro Seara [Wed, 19 Aug 2015 01:59:34 +0000 (22:59 -0300)]
Fix typo, "delemiters" -> "delimiters"

9 years agoUpdate press.md
Francois Lanthier Nadeau [Thu, 13 Aug 2015 18:00:33 +0000 (14:00 -0400)]
Update press.md

New article about Hugo on the Snipcart blog.

9 years agoSearch current directory for config file by default
Anthony Fok [Wed, 19 Aug 2015 06:36:22 +0000 (00:36 -0600)]
Search current directory for config file by default

As of 2015-08-16, Viper no longer searches the CWD
for config file by default to avoid unintended surprises,
but Hugo relies on the original behaviour.

Fixed by calling

    viper.AddConfigPath(".")

at the appropriate place.

See https://github.com/spf13/viper/issues/73 for more information.

Fixes #1363

9 years agoUse cast.ToIntE for int conversions in substr and slicestr
Bjørn Erik Pedersen [Sat, 15 Aug 2015 13:47:16 +0000 (15:47 +0200)]
Use cast.ToIntE for int conversions in substr and slicestr

It is less restrictive, and it is what is used in other template funcs.

9 years agoSlicestr fix for other int type param
Benny Wu [Fri, 14 Aug 2015 08:36:56 +0000 (15:36 +0700)]
Slicestr fix for other int type param

Fixes #1347

9 years agoDocumentation update on Template Where Function for nil
Benny Wu [Tue, 11 Aug 2015 02:33:13 +0000 (09:33 +0700)]
Documentation update on Template Where Function for nil

9 years agoImplement `hugo --theme=[Tab][Tab]` bash completion
Anthony Fok [Mon, 10 Aug 2015 00:49:54 +0000 (18:49 -0600)]
Implement `hugo --theme=[Tab][Tab]` bash completion

using the new BashCompSubdirsInDir annotation in spf13/cobra.

9 years agoPrint feedback for `hugo genautocomplete`
Anthony Fok [Thu, 6 Aug 2015 21:38:25 +0000 (15:38 -0600)]
Print feedback for `hugo genautocomplete`

9 years agoPrint feedback for `hugo gendoc`
Anthony Fok [Sat, 8 Aug 2015 04:26:28 +0000 (22:26 -0600)]
Print feedback for `hugo gendoc`

9 years agoUse spf13/pflag's new SetAnnotation helper
Anthony Fok [Sat, 8 Aug 2015 04:50:36 +0000 (22:50 -0600)]
Use spf13/pflag's new SetAnnotation helper

And make our bash completion code more compact.

9 years agoAdded sitemap configuration documentation.
Michael Diamond [Thu, 6 Aug 2015 05:39:49 +0000 (01:39 -0400)]
Added sitemap configuration documentation.

9 years agoAdded mention of .Data.Pages, removed duplicate .Site.Pages mention.
Michael Diamond [Thu, 6 Aug 2015 05:21:18 +0000 (01:21 -0400)]
Added mention of .Data.Pages, removed duplicate .Site.Pages mention.

9 years agodocs: Remove minodisk's http://dsk.mn/ from Showcase
Anthony Fok [Sat, 8 Aug 2015 20:48:01 +0000 (14:48 -0600)]
docs: Remove minodisk's dsk.mn/ from Showcase

The domain dsk.mn expired in January 2015,
and unfortunately I was unable to reach the author
nor find his replacement website.

9 years agodocs: Clean up and align Showcase thumbnail images
Anthony Fok [Sat, 8 Aug 2015 20:22:48 +0000 (14:22 -0600)]
docs: Clean up and align Showcase thumbnail images

Some of the thumbnails in Showcase were out of place
because of several irregularly sized thumbnails,
and some of them almost 300KB in filesize.

Resize them all to 600x400 (pixels), and use the `-tn.png`
suffix.

When necessary, the website snapshot is re-captured using
gnome-web-photo.  Then, the following commands (or a combination
thereof) are used to crop and resize the image into a thumbnail,
and to reduce its filesize:

    $ convert example.png -crop 900x600+0+0 \
                          -filter Lanczos2Sharp -distort Resize 600x400 \
                          example-tn.png
    $ pngquant --nofs -v --speed 1 --quality 65-80 example-tn.png
    $ optipng -o7 -zm1-9 example-tn-or8.png
    $ mv example-tn-or8.png example-tn.png

9 years agodocs: Add site title; set pluralizeListTitles = false
Anthony Fok [Sat, 8 Aug 2015 07:41:18 +0000 (01:41 -0600)]
docs: Add site title; set pluralizeListTitles = false

To prevent "Showcase" from becoming "Showcases",
also to have the RSS feed display correct titles,
i.e. "Showcase on gohugo.io" rather than "Showcase on ".

9 years agoAdd Arqueart to Showcase
Bruno Calheira [Thu, 6 Aug 2015 00:06:53 +0000 (21:06 -0300)]
Add Arqueart to Showcase

9 years agoCreate arqueart.md
Bruno Calheira [Wed, 5 Aug 2015 23:51:33 +0000 (20:51 -0300)]
Create arqueart.md

9 years agodocs: More detailed explanation of .Site.LastChange
Anthony Fok [Sat, 8 Aug 2015 05:30:11 +0000 (23:30 -0600)]
docs: More detailed explanation of .Site.LastChange

9 years agoRemoved extra .Site.LastChange listing
Austin Dizzy [Mon, 3 Aug 2015 04:01:52 +0000 (00:01 -0400)]
Removed extra .Site.LastChange listing

9 years agoDoc for other supported formats (external helpers)
Baptiste Mathus [Sat, 1 Aug 2015 21:50:39 +0000 (23:50 +0200)]
Doc for other supported formats (external helpers)

As Hugo now supports more formats thanks to the new "external helpers"
feature recently introduced, and as requested by some people, I added
some lines in the doc:
* basically confirming it actually exists
* how to use it

9 years agoReset Scratch for 404
Bjørn Erik Pedersen [Fri, 7 Aug 2015 18:30:01 +0000 (20:30 +0200)]
Reset Scratch for 404

The 404 pages etc. need a better solution, but fix this issue for now.

Fixes #1336

9 years agoRevert "Fix some Go code doc issues"
Bjørn Erik Pedersen [Fri, 7 Aug 2015 18:09:40 +0000 (20:09 +0200)]
Revert "Fix some Go code doc issues"

This reverts commit de7dd70bbc1ac533f137e5f788e1b337d6ba6b8c.

Broke the code fence feat.

9 years agoAvoid panic in shortcode param handling
Bjørn Erik Pedersen [Fri, 7 Aug 2015 18:08:23 +0000 (20:08 +0200)]
Avoid panic in shortcode param handling

Fixes #1337

9 years agoDo not panic on index out of range in shortcode.Get
Bjørn Erik Pedersen [Fri, 7 Aug 2015 17:21:26 +0000 (19:21 +0200)]
Do not panic on index out of range in shortcode.Get

Fixes #1335

9 years agoAlso rename readDir in docs shortcode
Bjørn Erik Pedersen [Fri, 7 Aug 2015 12:55:53 +0000 (14:55 +0200)]
Also rename readDir in docs shortcode

9 years agoRename ReadDir to readDir
Bjørn Erik Pedersen [Fri, 7 Aug 2015 12:33:48 +0000 (14:33 +0200)]
Rename ReadDir to readDir

To make it consistent with the other template funcs.

9 years agoMake sort tpl func accept field/key chaining arg
Tatsushi Demachi [Fri, 7 Aug 2015 11:05:18 +0000 (20:05 +0900)]
Make sort tpl func accept field/key chaining arg

'sort' template function used to accept only each element's struct field
name, method name and map key name as its second argument. This extends
it to accept a field/method/key chaining key string like
'Params.foo.bar' as the argument. It evaluates sub elements of each
array or map elements and sorts by them.

Typical use case would be sorting pages by user defined front matter
value. For example, sorting pages by 'Params.foo.bar' is possible by
writing the following template code

    {{ range sort .Data.Pages "Params.foo.bar" }}
        {{ .Content }}
    {{ end }}

It ignores all leading and trailing dots so "Params.foo.bar" can be
written in ".Params.foo.bar"

This also fixes the issue that 'sort' cannot evaluate a pointer value.

Fix #1330

9 years agoFix sort tpl func to return explicit type value
Tatsushi Demachi [Thu, 6 Aug 2015 17:27:15 +0000 (02:27 +0900)]
Fix sort tpl func to return explicit type value

sort template function returns `[]interface{}` type slice value
regardless of its original element type.

This fixes it to keep the original element type. For example, if it
sorts `map[string]int` type value, it returns `[]int` slice value
instead of `[]interface{}` slice value.

9 years agoFix Unicode issue in Slicestr and Substr
Bjørn Erik Pedersen [Fri, 7 Aug 2015 06:52:22 +0000 (08:52 +0200)]
Fix Unicode issue in Slicestr and Substr

Fixes #1333

9 years agoFix some Go code doc issues
Bjørn Erik Pedersen [Thu, 6 Aug 2015 20:58:10 +0000 (22:58 +0200)]
Fix some Go code doc issues

9 years agoAdd missing formatting directive in Printf call
Bjørn Erik Pedersen [Thu, 6 Aug 2015 20:46:01 +0000 (22:46 +0200)]
Add missing formatting directive in Printf call

To make Go Vet happy.

9 years agodocs: Extend documentation on Blackfriday options
Anthony Fok [Wed, 5 Aug 2015 22:24:03 +0000 (16:24 -0600)]
docs: Extend documentation on Blackfriday options

Especially to spell out how the `latexDashes` flag
changes the behavior of smart dashes

9 years agoAdd some float tests to TestArethmic
Bjørn Erik Pedersen [Wed, 5 Aug 2015 16:55:25 +0000 (18:55 +0200)]
Add some float tests to TestArethmic

9 years agoAdd option to disable Blackfriday Smartypants
Anthony Fok [Tue, 4 Aug 2015 19:05:48 +0000 (13:05 -0600)]
Add option to disable Blackfriday Smartypants

Can be used in site config or per page front matter:

```
[blackfriday]
smartypants = false
```

9 years agodocs: Fix typos
Anthony Fok [Tue, 4 Aug 2015 19:01:25 +0000 (13:01 -0600)]
docs: Fix typos

9 years agodocs: Bolden the blackfriday flags to make them stand out
Anthony Fok [Tue, 4 Aug 2015 18:34:47 +0000 (12:34 -0600)]
docs: Bolden the blackfriday flags to make them stand out

And other minor HTML/CSS tweaks.

9 years agodoc: Strip trailing whitespace; other revisions
Anthony Fok [Tue, 4 Aug 2015 18:00:08 +0000 (12:00 -0600)]
doc: Strip trailing whitespace; other revisions

Make some random and non-comprehensive changes to the
template functions documentation to make them more
consistent.

9 years agoStrip trailing whitespace in code
Anthony Fok [Tue, 4 Aug 2015 17:59:32 +0000 (11:59 -0600)]
Strip trailing whitespace in code

9 years agoImprove formatting of Hugo command descriptions
Anthony Fok [Tue, 4 Aug 2015 09:15:12 +0000 (03:15 -0600)]
Improve formatting of Hugo command descriptions

Trying to make them look good both in the terminal (`hugo help [command]`)
and in the web browser (http://gohugo.io/commands/).  :-)

9 years agoBump `hugo new theme` template min_version to 0.14
Anthony Fok [Tue, 4 Aug 2015 08:59:57 +0000 (02:59 -0600)]
Bump `hugo new theme` template min_version to 0.14

9 years agoFix searching YAML/TOML delimiters in frontmatter
Tatsushi Demachi [Mon, 3 Aug 2015 14:32:51 +0000 (23:32 +0900)]
Fix searching YAML/TOML delimiters in frontmatter

When a YAML/TOML's delimiter character sequence is included in a
frontmatter string, parser mistakes it as a delimiter. This fixes it by
checking a character right before the delimiter sequence is '\n' or it
is the beginning of the frontmatter.

Fix #1320

9 years agoAdd map support to scratch
Marek Janda [Sun, 2 Aug 2015 05:00:43 +0000 (07:00 +0200)]
Add map support to scratch

9 years agoTrim trailing spaces from YAML and TOML delimiters
Jeff Hodges [Sun, 2 Aug 2015 05:24:22 +0000 (22:24 -0700)]
Trim trailing spaces from YAML and TOML delimiters

When someone hits space after typing "---" (or "+++") but before they
hit return, hugo silently failed to parse the file. This corrects that.

9 years ago[Docs] Add <br> to an extra-long title in the Press page
Anthony Fok [Sat, 1 Aug 2015 17:38:58 +0000 (11:38 -0600)]
[Docs] Add <br> to an extra-long title in the Press page

9 years agodocs: add netlify article to press section
Bjørn Erik Pedersen [Fri, 31 Jul 2015 11:43:45 +0000 (13:43 +0200)]
docs: add netlify article to press section

9 years agoRemove deprecated fields and methods for v0.15
Anthony Fok [Thu, 30 Jul 2015 07:17:10 +0000 (01:17 -0600)]
Remove deprecated fields and methods for v0.15

Special thanks to @bep for his guidance and
for making sure all of the Hugo themes get updated.

Fixes #1172

9 years agoAsciidoc[tor]: use --no-header-footer option
Baptiste Mathus [Wed, 29 Jul 2015 14:11:59 +0000 (16:11 +0200)]
Asciidoc[tor]: use --no-header-footer option

This simplifies the retrieval of the HTML (no more need to extract the
part within body) and also removes the unwanted "Last Updated" part in
the article.

9 years agoAlways use the template provided in page.Render
Bjørn Erik Pedersen [Tue, 28 Jul 2015 23:19:29 +0000 (01:19 +0200)]
Always use the template provided in page.Render

Fixes #1306

9 years agoFix inconsistent front matter handling
Bjørn Erik Pedersen [Sun, 26 Jul 2015 13:28:56 +0000 (15:28 +0200)]
Fix inconsistent front matter handling

Fixes #768

9 years agoAdd ReadDir function to list local files.
Russell Oliver [Fri, 26 Jun 2015 10:23:37 +0000 (20:23 +1000)]
Add ReadDir function to list local files.

Includes documentation.

9 years agoIgnore non-presence of "layouts" directory in watch logic
Scott C Wilson [Sat, 18 Jul 2015 13:14:39 +0000 (09:14 -0400)]
Ignore non-presence of "layouts" directory in watch logic
Fixes #691

9 years agoFix periods in taxonomies create bad paths
Ryan Clarke [Tue, 2 Jun 2015 00:29:29 +0000 (20:29 -0400)]
Fix periods in taxonomies create bad paths
Fixes #1188

9 years agoReplace strings.Compare
Bjørn Erik Pedersen [Sat, 25 Jul 2015 15:38:13 +0000 (17:38 +0200)]
Replace strings.Compare

Which is a Go 1.5 func.

See #1299

9 years agoFix sort test and title sort
Bjørn Erik Pedersen [Sat, 25 Jul 2015 15:22:19 +0000 (17:22 +0200)]
Fix sort test and title sort

See #1299

9 years agoFall back to link title for default page sort
Bjørn Erik Pedersen [Sat, 25 Jul 2015 14:34:35 +0000 (16:34 +0200)]
Fall back to link title for default page sort

Fixes #1299

9 years agoThe guide is updated to fit the current Wercker interface and configurations.
Sam Debruyn [Mon, 13 Jul 2015 20:22:27 +0000 (22:22 +0200)]
The guide is updated to fit the current Wercker interface and configurations.
Wercker changed its interface and default infrastructure (Docker).

9 years agoRemove point 7 in contributors guide
Bjørn Erik Pedersen [Fri, 24 Jul 2015 09:41:45 +0000 (11:41 +0200)]
Remove point 7 in contributors guide

It makes sense on its own, but it contradicts 6). We need to revisit this one to make it more clear/better.

9 years agoMake small fixes to README file
Scott C Wilson [Mon, 13 Jul 2015 09:41:46 +0000 (05:41 -0400)]
Make small fixes to README file
- Add a step to Contributor instructions for those modifying commands
- Change forum link to http (https does not work)
- Add "Sign the forum release thread" to contributor instructions

9 years agodocs: fix prev in highlightling
Bjørn Erik Pedersen [Fri, 24 Jul 2015 09:31:26 +0000 (11:31 +0200)]
docs: fix prev in highlightling

9 years agoAdded szymonkatra.github.io site to showcase
Szymon Katra [Fri, 10 Jul 2015 14:27:39 +0000 (16:27 +0200)]
Added szymonkatra.github.io site to showcase

9 years agoFix links to Ace and Amber pages
Scott C Wilson [Mon, 20 Jul 2015 22:29:36 +0000 (18:29 -0400)]
Fix links to Ace and Amber pages

9 years agoAdd scottcwilson.github.io to showcase site
Scott C Wilson [Tue, 21 Jul 2015 10:06:14 +0000 (06:06 -0400)]
Add scottcwilson.github.io to showcase site

9 years agoMove apply before cache put
Bjørn Erik Pedersen [Thu, 23 Jul 2015 22:28:21 +0000 (00:28 +0200)]
Move apply before cache put

It just looks better.

See #1293

9 years agodocs: Rename dynamic content to data-driven content
Bjørn Erik Pedersen [Thu, 23 Jul 2015 10:54:58 +0000 (12:54 +0200)]
docs: Rename dynamic content to data-driven content

Fixes #925

9 years agoFix data races in sorting and Reverse
Bjørn Erik Pedersen [Mon, 20 Jul 2015 23:29:22 +0000 (01:29 +0200)]
Fix data races in sorting and Reverse

The custom sort functions used from the templates had some subtle data race- and related issues,
especially when used in the single page template.

This commit fixes this by making copies and protect the read and writes with a RWMutex.

The results are cached (it will typically be invoked *number of pages* times with exactly the same data).

This is, not surprisingly, also faster:

```
benchmark                           old ns/op     new ns/op     delta
BenchmarkSortByWeightAndReverse     14228         491           -96.55%

benchmark                           old allocs     new allocs     delta
BenchmarkSortByWeightAndReverse     1              0              -100.00%

benchmark                           old bytes     new bytes     delta
BenchmarkSortByWeightAndReverse     32            0             -100.00%
```

Fixes #1293

9 years agoFix broken test
Bjørn Erik Pedersen [Tue, 21 Jul 2015 19:12:03 +0000 (21:12 +0200)]
Fix broken test

9 years agoAdd benchmark for sort and reverse
Bjørn Erik Pedersen [Tue, 21 Jul 2015 19:01:56 +0000 (21:01 +0200)]
Add benchmark for sort and reverse

9 years agosource/File: Fix data races
Bjørn Erik Pedersen [Tue, 21 Jul 2015 18:02:42 +0000 (20:02 +0200)]
source/File: Fix data races

9 years agoDocument Amber templates
Scott C Wilson [Mon, 20 Jul 2015 12:49:18 +0000 (08:49 -0400)]
Document Amber templates
Fixes #1064

9 years agoOn error, return error message, not nil
Scott C Wilson [Mon, 20 Jul 2015 01:02:03 +0000 (21:02 -0400)]
On error, return error message, not nil

9 years agoAdd a check for the setting of watch flag in config file
Scott C Wilson [Sat, 18 Jul 2015 00:42:09 +0000 (20:42 -0400)]
Add a check for the setting of watch flag in config file

Fixes #1074

9 years agoLet Amber template call Hugo's custom functions
Tatsushi Demachi [Mon, 20 Jul 2015 00:07:55 +0000 (09:07 +0900)]
Let Amber template call Hugo's custom functions

Amber doesn't share text/template `FuncMap` functions and has its own
function list. This allows Amber to call Hugo's custom functions.

9 years agoFix name logic for Amber templates
Bjørn Erik Pedersen [Sun, 19 Jul 2015 18:12:05 +0000 (20:12 +0200)]
Fix name logic for Amber templates

9 years agoFix link to front matter
Christopher Eliot [Tue, 14 Jul 2015 13:36:39 +0000 (09:36 -0400)]
Fix link to front matter

added leading backslash, changing [front matter](content/front-matter) to [front matter](/content/front-matter)

9 years agoFix unclear RSS template docs
Clam- [Fri, 17 Jul 2015 13:29:58 +0000 (23:29 +1000)]
Fix unclear RSS template docs

The documentation for the RSS templating is a little unclear.
http://gohugo.io/templates/rss/

Some users may attempt to look for a ```__internal``` directory rather than assume that's the aforementioned "Hugo own template."

Here's my suggestion.