brevno-suite/hugo
8 years agovendor: Update fsnotify with several Linux-fixes
Bjørn Erik Pedersen [Wed, 29 Mar 2017 11:30:31 +0000 (13:30 +0200)]
vendor: Update fsnotify with several Linux-fixes

8 years agohugolib, helpers: Reduce log level to WARN on .Render for non-regular pages
Bjørn Erik Pedersen [Wed, 29 Mar 2017 06:08:45 +0000 (08:08 +0200)]
hugolib, helpers: Reduce log level to WARN on .Render for non-regular pages

We will eventually support all types in the Render method.

8 years agohelpers, output: Fix spelling
Bjørn Erik Pedersen [Mon, 27 Mar 2017 23:19:46 +0000 (01:19 +0200)]
helpers, output: Fix spelling

8 years agohugolib, output: Gofmt
Bjørn Erik Pedersen [Mon, 27 Mar 2017 23:18:15 +0000 (01:18 +0200)]
hugolib, output: Gofmt

8 years agomedia: Add some more relevant MIME types
Bjørn Erik Pedersen [Mon, 27 Mar 2017 22:09:25 +0000 (00:09 +0200)]
media: Add some more relevant MIME types

8 years agotplimpl: Fix lookup with non-standard layout folder
Bjørn Erik Pedersen [Mon, 27 Mar 2017 08:25:29 +0000 (10:25 +0200)]
tplimpl: Fix lookup with non-standard layout folder

8 years agohugolib, output: Restrict Render to regular Pages
Bjørn Erik Pedersen [Sun, 26 Mar 2017 17:34:30 +0000 (19:34 +0200)]
hugolib, output: Restrict Render to regular Pages

Using it for list pages doesn't work and has potential weird side-effects.

The user probably meant to range over .Site.ReqularPages, and that is now marked clearly in the log.

8 years agohugolib: Fix Render layouts for list pages
Bjørn Erik Pedersen [Sun, 26 Mar 2017 16:51:12 +0000 (18:51 +0200)]
hugolib: Fix Render layouts for list pages

8 years agohugolib: Wrap pageOutput create in sync.Once
Bjørn Erik Pedersen [Sun, 26 Mar 2017 09:45:12 +0000 (11:45 +0200)]
hugolib: Wrap pageOutput create in sync.Once

8 years agohugolib: Fix panic for Permalink in 404 etc. templates
Bjørn Erik Pedersen [Sat, 25 Mar 2017 19:31:43 +0000 (20:31 +0100)]
hugolib: Fix panic for Permalink in 404 etc. templates

8 years agocommands: Fix broken commandeer
Bjørn Erik Pedersen [Sat, 25 Mar 2017 18:48:28 +0000 (19:48 +0100)]
commands: Fix broken commandeer

8 years agooutput: Rename HTMLType etc. to HTMLFormat
Bjørn Erik Pedersen [Sat, 25 Mar 2017 18:36:50 +0000 (19:36 +0100)]
output: Rename HTMLType etc. to HTMLFormat

8 years agohugolib: Revise paginator alias path handling
Bjørn Erik Pedersen [Sat, 25 Mar 2017 18:21:19 +0000 (19:21 +0100)]
hugolib: Revise paginator alias path handling

8 years agohugolib: More TODO fixes
Bjørn Erik Pedersen [Sat, 25 Mar 2017 17:28:38 +0000 (18:28 +0100)]
hugolib: More TODO fixes

8 years agohugolib, layout: Consolidate RSS template handling
Bjørn Erik Pedersen [Sat, 25 Mar 2017 16:46:09 +0000 (17:46 +0100)]
hugolib, layout: Consolidate RSS template handling

8 years agoRemove the now superflous defaultExtension
Bjørn Erik Pedersen [Sat, 25 Mar 2017 15:09:56 +0000 (16:09 +0100)]
Remove the now superflous defaultExtension

And some other unsed fields and methods.

8 years agoall: Propagate baseURL error to the callers
Bjørn Erik Pedersen [Sat, 25 Mar 2017 13:37:04 +0000 (14:37 +0100)]
all: Propagate baseURL error to the callers

8 years agohugolib, tplimpl: Use OutputFormats to create atom links
Bjørn Erik Pedersen [Sat, 25 Mar 2017 09:14:12 +0000 (10:14 +0100)]
hugolib, tplimpl: Use OutputFormats to create atom links

8 years agohugolib: Add 404 test
Bjørn Erik Pedersen [Fri, 24 Mar 2017 16:16:17 +0000 (17:16 +0100)]
hugolib: Add 404 test

8 years agohugolib, output: Fix RSSLink vs output formats
Bjørn Erik Pedersen [Fri, 24 Mar 2017 15:54:37 +0000 (16:54 +0100)]
hugolib, output: Fix RSSLink vs output formats

And remove the now superflous setPageURLs method.

8 years agohugolib, output: Handle aliases for all HTML formats
Bjørn Erik Pedersen [Fri, 24 Mar 2017 10:25:25 +0000 (11:25 +0100)]
hugolib, output: Handle aliases for all HTML formats

8 years agohugolib: Update site stats to take output formats into account
Bjørn Erik Pedersen [Fri, 24 Mar 2017 08:19:51 +0000 (09:19 +0100)]
hugolib: Update site stats to take output formats into account

8 years agoAdd custom protocol support in Permalink
Bjørn Erik Pedersen [Thu, 23 Mar 2017 19:05:10 +0000 (20:05 +0100)]
Add custom protocol support in Permalink

8 years agomedia, output: Add Calendar type
Bjørn Erik Pedersen [Thu, 23 Mar 2017 16:31:05 +0000 (17:31 +0100)]
media, output: Add Calendar type

8 years agohugolib: Read default output formats from site config
Bjørn Erik Pedersen [Wed, 22 Mar 2017 10:34:17 +0000 (11:34 +0100)]
hugolib: Read default output formats from site config

8 years agohugolib, media: Make the MediaType available to the templates
Bjørn Erik Pedersen [Wed, 22 Mar 2017 10:03:42 +0000 (11:03 +0100)]
hugolib, media: Make the MediaType available to the templates

8 years agohugolib, output: Add Rel to the output format
Bjørn Erik Pedersen [Wed, 22 Mar 2017 08:54:56 +0000 (09:54 +0100)]
hugolib, output: Add Rel to the output format

To make it super-easy to create rel-links.

8 years agodocs: Move the rough custom output formats spec to docs
Bjørn Erik Pedersen [Wed, 22 Mar 2017 07:26:22 +0000 (08:26 +0100)]
docs: Move the rough custom output formats spec to docs

This isn't meant to be the final useer docs on this feature!

8 years agohugolib: Add OutputFormats with permalinks to Page
Bjørn Erik Pedersen [Tue, 21 Mar 2017 23:25:55 +0000 (00:25 +0100)]
hugolib: Add OutputFormats with permalinks to Page

8 years agooutput: Rework the base template logic
Bjørn Erik Pedersen [Sun, 19 Mar 2017 20:09:31 +0000 (21:09 +0100)]
output: Rework the base template logic

Extract the logic to a testable function and add support for custom output types.

Fixes #2995

8 years agohubolib: Pick layout per output format
Bjørn Erik Pedersen [Sun, 19 Mar 2017 14:25:32 +0000 (15:25 +0100)]
hubolib: Pick layout per output format

8 years agohugolib: Fix layout lookup order for Render func
Bjørn Erik Pedersen [Sun, 19 Mar 2017 10:40:54 +0000 (11:40 +0100)]
hugolib: Fix layout lookup order for Render func

Will have to fix this in a better way later in relation to the non-renderable pages.

But this commit brings the Hugo Benchmark down to "only slightly slower" than master.

```
benchmark           old ns/op       new ns/op       delta
BenchmarkHugo-4     10074504521     10071236251     -0.03%

benchmark           old allocs     new allocs     delta
BenchmarkHugo-4     43623091       49271859       +12.95%

benchmark           old bytes      new bytes      delta
BenchmarkHugo-4     9468322704     9725848376     +2.72%
```

Which is something we can work with.

8 years agooutput: Speed up layout calculations
Bjørn Erik Pedersen [Sat, 18 Mar 2017 15:46:10 +0000 (16:46 +0100)]
output: Speed up layout calculations

```
BenchmarkLayout-4     4883          497           -89.82%

benchmark             old allocs     new allocs     delta
BenchmarkLayout-4     18             1              -94.44%

benchmark             old bytes     new bytes     delta
BenchmarkLayout-4     1624          32            -98.03%
```

8 years agohugolib: Speed up URL handling
Bjørn Erik Pedersen [Fri, 17 Mar 2017 15:35:09 +0000 (16:35 +0100)]
hugolib: Speed up URL handling

8 years agohugolib: Remove siteWriter
Bjørn Erik Pedersen [Thu, 16 Mar 2017 09:04:30 +0000 (10:04 +0100)]
hugolib: Remove siteWriter

8 years agohugolib: Pull all alias handling into one file
Bjørn Erik Pedersen [Thu, 16 Mar 2017 08:09:26 +0000 (09:09 +0100)]
hugolib: Pull all alias handling into one file

8 years agoRefactor layout resolve to a descriptor/adapter pattern
Bjørn Erik Pedersen [Thu, 16 Mar 2017 07:58:50 +0000 (08:58 +0100)]
Refactor layout resolve to a descriptor/adapter pattern

8 years agoRename OutputType to OutputFormat
Bjørn Erik Pedersen [Thu, 16 Mar 2017 07:32:14 +0000 (08:32 +0100)]
Rename OutputType to OutputFormat

8 years agohugolib: Refactor/-work the permalink/target path logic
Bjørn Erik Pedersen [Thu, 9 Mar 2017 18:19:29 +0000 (19:19 +0100)]
hugolib: Refactor/-work the permalink/target path logic

This is a pretty fundamental change in Hugo, but absolutely needed if we should have any hope of getting "multiple outputs" done.

This commit's goal is to say:

* Every file target path is created by `createTargetPath`, i.e. one function for all.
* That function takes every page and site parameter into account, to avoid fragile string parsing to uglify etc. later on.
* The path creation logic has full test coverage.
* All permalinks, paginator URLs etc. are then built on top of that same logic.

Fixes #1252
Fixes #2110
Closes #2374
Fixes #1885
Fixes #3102
Fixes #3179
Fixes #1641
Fixes #1989

8 years agoImplement the first generic JSON output testcase
Bjørn Erik Pedersen [Wed, 8 Mar 2017 12:45:33 +0000 (13:45 +0100)]
Implement the first generic JSON output testcase

8 years agohugolib, output: Incorporate suffix and type in layout resolve
Bjørn Erik Pedersen [Tue, 7 Mar 2017 16:26:22 +0000 (17:26 +0100)]
hugolib, output: Incorporate suffix and type in layout resolve

And remove some now superflous and hard to maintain tests.

8 years agohugolib: Add basic setup for output def per Kind
Bjørn Erik Pedersen [Tue, 7 Mar 2017 13:20:39 +0000 (14:20 +0100)]
hugolib: Add basic setup for output def per Kind

8 years agohugolib: Revert to using Page as the render chan type
Bjørn Erik Pedersen [Tue, 7 Mar 2017 08:55:17 +0000 (09:55 +0100)]
hugolib: Revert to using Page as the render chan type

Changing it to PageOutput was a mistake. You may think that the increased parallelism should be a good thing.

But not so much with the increased lock contention and more complex concurrency model.

8 years agohugolib: Remove the copying in the renderRSS
Bjørn Erik Pedersen [Tue, 7 Mar 2017 00:01:51 +0000 (01:01 +0100)]
hugolib: Remove the copying in the renderRSS

8 years agohugolib: Put back taxonomy term paginator logic lost in rebase
Bjørn Erik Pedersen [Mon, 6 Mar 2017 20:21:16 +0000 (21:21 +0100)]
hugolib: Put back taxonomy term paginator logic lost in rebase

8 years agohugolib, output: Add theme logic to LayoutHandler
Bjørn Erik Pedersen [Mon, 6 Mar 2017 18:54:46 +0000 (19:54 +0100)]
hugolib, output: Add theme logic to LayoutHandler

8 years agohugolib: Add a PageOutput wrapper for rendering
Bjørn Erik Pedersen [Mon, 6 Mar 2017 18:16:31 +0000 (19:16 +0100)]
hugolib: Add a PageOutput wrapper for rendering

8 years agohugolob: A first incorporation of output types in rendering
Bjørn Erik Pedersen [Mon, 6 Mar 2017 12:40:06 +0000 (13:40 +0100)]
hugolob: A first incorporation of output types in rendering

8 years agohugolib: Use the new layout logic in Page
Bjørn Erik Pedersen [Mon, 6 Mar 2017 12:18:33 +0000 (13:18 +0100)]
hugolib: Use the new layout logic in Page

8 years agooutput: Move layout logic to the output package
Bjørn Erik Pedersen [Mon, 6 Mar 2017 10:20:30 +0000 (11:20 +0100)]
output: Move layout logic to the output package

8 years agooutput: Add output type
Bjørn Erik Pedersen [Sun, 5 Mar 2017 17:23:00 +0000 (18:23 +0100)]
output: Add output type

8 years agoAdd MediaType and a crude implementation
Bjørn Erik Pedersen [Thu, 2 Mar 2017 14:35:25 +0000 (15:35 +0100)]
Add MediaType and a crude implementation

See #2828

8 years agoExit -1 on ERROR in non-global logger
Bjørn Erik Pedersen [Mon, 27 Mar 2017 08:55:29 +0000 (10:55 +0200)]
Exit -1 on ERROR in non-global logger

Fixes #3239

8 years agoRevert "tplimpl: return an error on unsupported type in isSet"
Bjørn Erik Pedersen [Sun, 26 Mar 2017 18:07:15 +0000 (20:07 +0200)]
Revert "tplimpl: return an error on unsupported type in isSet"

This breaks the theme site and lots of themes, so we will have to thinkg a little harder about this one.

This reverts commit 74ea81b885adc64d0194df461cbc85667294d16e.

8 years agoChange RSS description from full .Content to .Summary
Darwin [Sat, 25 Mar 2017 21:58:41 +0000 (17:58 -0400)]
Change RSS description from full .Content to .Summary

8 years agohugolib: Correctly identify "my_index_page.md"
Bjørn Erik Pedersen [Sat, 25 Mar 2017 08:56:00 +0000 (09:56 +0100)]
hugolib: Correctly identify "my_index_page.md"

The above example was earlier identified as a section page and not a regular page.

Fixes #3234

8 years agosnapcraft: Bump version to 0.20-DEV
Anthony Fok [Sat, 25 Mar 2017 08:55:10 +0000 (02:55 -0600)]
snapcraft: Bump version to 0.20-DEV

8 years agosnapcraft: Add vendoring support
Anthony Fok [Sat, 25 Mar 2017 08:41:58 +0000 (02:41 -0600)]
snapcraft: Add vendoring support

Also, build with go1.8, run "make test", and strip the binary.

Fixes #3226

8 years agodocs: Add Hugo SFTP Upload to the tools section
digitalcraftsman [Fri, 24 Mar 2017 22:31:31 +0000 (23:31 +0100)]
docs: Add Hugo SFTP Upload to the tools section

/cc @rdwatters

8 years agocommands: Fix case of createpath in new.go
Albert Nigmatzianov [Fri, 24 Mar 2017 07:14:14 +0000 (12:14 +0500)]
commands: Fix case of createpath in new.go

8 years agocreate: Delete redundant viper calls
Albert Nigmatzianov [Fri, 24 Mar 2017 07:13:05 +0000 (12:13 +0500)]
create: Delete redundant viper calls

Also make easier to read the code

8 years agodocs: Remove dead links, consistent formatting...
Ryan Watters [Wed, 22 Mar 2017 20:32:31 +0000 (15:32 -0500)]
docs: Remove dead links, consistent formatting...

This page was a real chore chore on the POC. In the event that a new doc site won't be approved by v20, this will at least clean up the broken links I found during my audit. I would like to eventually create this as a [data file](https://github.com/spf13/hugo/pull/2508#commitcomment-18705617) since md tables get unwieldy pretty quickly.

8 years agodocs: Fix typo in templates/functions.md (#3214)
Prayag Verma [Wed, 22 Mar 2017 08:21:00 +0000 (13:51 +0530)]
docs: Fix typo in templates/functions.md (#3214)

limitted → limited

8 years agocommands: Keep "." directories on cleanDestinationDir
Eamonn [Tue, 21 Mar 2017 12:10:31 +0000 (23:10 +1100)]
commands: Keep "." directories on cleanDestinationDir

Fixes #3208

8 years agodocs: Add bharathpalavalli.com to the showcase
Bharath M. Palavalli [Tue, 21 Mar 2017 06:16:08 +0000 (11:46 +0530)]
docs: Add bharathpalavalli.com to the showcase

8 years agoparser: Improve TOML frontmatter parser performance
Albert Nigmatzianov [Mon, 20 Mar 2017 05:47:46 +0000 (10:47 +0500)]
parser: Improve TOML frontmatter parser performance

Difference between toml.Load(string(datum)) and
toml.LoadReader(bytes.NewReader(datum)):
benchmark           old ns/op     new ns/op     delta
BenchmarkLoad-4     82068         78489         -4.36%

benchmark           old allocs     new allocs     delta
BenchmarkLoad-4     494            493            -0.20%

benchmark           old bytes     new bytes     delta
BenchmarkLoad-4     17009         16913         -0.56%

8 years agoRemoving .Site.Recent
Ryan Watters [Mon, 20 Mar 2017 00:41:22 +0000 (19:41 -0500)]
Removing .Site.Recent

Per forum:

https://discuss.gohugo.io/t/site-recent-deprecated-or-removed/5851/2

8 years agoRevert "Add support for a flatter and simpler language file structure"
Bjørn Erik Pedersen [Sun, 19 Mar 2017 21:34:22 +0000 (22:34 +0100)]
Revert "Add support for a flatter and simpler language file structure"

This reverts commit 0e75f6e7b14ea916b368da053327d352606ab09f.

8 years agoRevert "vendor: Fix broken i18m definition"
Bjørn Erik Pedersen [Sun, 19 Mar 2017 21:34:16 +0000 (22:34 +0100)]
Revert "vendor: Fix broken i18m definition"

This reverts commit 7c48ad57a9103619f4d34989851c7dcd92777186.

8 years agovendor: Fix broken i18m definition
Bjørn Erik Pedersen [Sun, 19 Mar 2017 20:46:19 +0000 (21:46 +0100)]
vendor: Fix broken i18m definition

8 years agoAdd support for a flatter and simpler language file structure
Bjørn Erik Pedersen [Sun, 19 Mar 2017 20:18:33 +0000 (21:18 +0100)]
Add support for a flatter and simpler language file structure

See https://github.com/nicksnyder/go-i18n/issues/62
See #2577

8 years agoRevert "helpers: Add a Debug method to DistinctLogger"
Bjørn Erik Pedersen [Sun, 19 Mar 2017 09:23:54 +0000 (10:23 +0100)]
Revert "helpers: Add a Debug method to DistinctLogger"

Not needed.

This reverts commit 4382a8a6a030520d9f094b3d7bb8f3ae3f08b187.

8 years agodocs: Add tibobeijen.nl to site showcase
Tibo Beijen [Sat, 18 Mar 2017 20:54:54 +0000 (21:54 +0100)]
docs: Add tibobeijen.nl to site showcase

8 years agohelpers: Add a Debug method to DistinctLogger
Bjørn Erik Pedersen [Sat, 18 Mar 2017 16:31:42 +0000 (17:31 +0100)]
helpers: Add a Debug method to DistinctLogger

8 years agoCase insensitive translation of the 'more' tag when importing from Jekyll
Stefan Buynov [Sat, 18 Mar 2017 15:16:25 +0000 (17:16 +0200)]
Case insensitive translation of the 'more' tag when importing from Jekyll

8 years agodocs: Fix documentation of non-existent 'editor' config
Dan Callahan [Fri, 17 Mar 2017 22:57:53 +0000 (17:57 -0500)]
docs: Fix documentation of non-existent 'editor' config

8 years agodocs: Change OS X to macOS in README and CONTRIBUTING
Anthony Fok [Wed, 15 Mar 2017 13:58:58 +0000 (07:58 -0600)]
docs: Change OS X to macOS in README and CONTRIBUTING

8 years agodocs: Fix CONTRIBUTING.md
Albert Nigmatzianov [Wed, 15 Mar 2017 08:27:02 +0000 (13:27 +0500)]
docs: Fix CONTRIBUTING.md

8 years agoUpdate to new go-toml API
Bjørn Erik Pedersen [Wed, 15 Mar 2017 07:04:52 +0000 (08:04 +0100)]
Update to new go-toml API

Closes #3142

8 years agodocs: Update contributing guides
Cameron Moore [Tue, 14 Mar 2017 22:03:49 +0000 (17:03 -0500)]
docs: Update contributing guides

Add vendoring and make targets.  Require Go 1.8+ and remove mention of
GOPATH (just assume $HOME/go).

Due to time contraints, the contributing tutorial was only slightly
updated to make obvious corrections.

Fixes #3153

8 years agodocs: Optimize 11 showcase thumbnail images
Anthony Fok [Tue, 14 Mar 2017 13:34:42 +0000 (07:34 -0600)]
docs: Optimize 11 showcase thumbnail images

8 years agodocs: Add Linux distro-specific installation instructions
Anthony Fok [Tue, 14 Mar 2017 12:08:21 +0000 (06:08 -0600)]
docs: Add Linux distro-specific installation instructions

Backported from https://hugodocs.info/getting-started/installing/
with added mention for Fedora and Red Hat.

8 years agodocs: Note Hugo as Snap package can write only inside $HOME
Anthony Fok [Tue, 14 Mar 2017 00:11:57 +0000 (18:11 -0600)]
docs: Note Hugo as Snap package can write only inside $HOME

Backported from https://hugodocs.info/getting-started/installing/

Fixes #3143

8 years agodocs: Replace Mac OS X with macOS in three places
Anthony Fok [Mon, 13 Mar 2017 19:29:23 +0000 (13:29 -0600)]
docs: Replace Mac OS X with macOS in three places

8 years agodocs: Add lucumt.info to showcase
Rosen Lu [Sun, 12 Mar 2017 07:47:43 +0000 (15:47 +0800)]
docs: Add lucumt.info to showcase

8 years agoparser: Accept JSON frontmatter without leading "{\n"
crasm [Tue, 20 Dec 2016 13:54:52 +0000 (08:54 -0500)]
parser: Accept JSON frontmatter without leading "{\n"

Accept JSON frontmatter without leading "{\n" so that one line
frontmatters such as `{"param":"paramvalue"}` no longer silently render
empty html.

8 years agocommands: Improve jekyll import date format
Anthony Kong [Mon, 13 Mar 2017 11:50:57 +0000 (22:50 +1100)]
commands: Improve jekyll import date format

Allow both yyyy-mm-dd and yyyy-m-d formats in jekyll markdown
file names.

8 years agodocs: Improve command reference page
Mark D. Blackwell [Fri, 6 Jan 2017 14:49:15 +0000 (09:49 -0500)]
docs: Improve command reference page

8 years agotpl: Add union template func
digitalcraftsman [Sun, 12 Mar 2017 22:04:12 +0000 (23:04 +0100)]
tpl: Add union template func

8 years agodocs: Add Android to README
Bjørn Erik Pedersen [Sat, 11 Mar 2017 23:52:40 +0000 (00:52 +0100)]
docs: Add Android to README

8 years agohugolib: Fix reloading corner cases for shortcodes
Bjørn Erik Pedersen [Fri, 10 Mar 2017 19:54:50 +0000 (20:54 +0100)]
hugolib: Fix reloading corner cases for shortcodes

This commit fixes two different, but related issues:

1) Live-reload when a new shortcode was defined in the content file before the shortcode itself was created.
2) Live-reload when a newly defined shortcode changed its "inner content" status.

This commit also improves the shortcode related error messages to include the full path to the content file in question.

Fixes #3156

8 years agocommands: t.Error => t.Errorf
Bjørn Erik Pedersen [Sat, 11 Mar 2017 18:07:32 +0000 (19:07 +0100)]
commands: t.Error => t.Errorf

8 years agoparser: Refactor frontmatter parser and add tests
Cameron Moore [Mon, 26 Dec 2016 21:23:20 +0000 (15:23 -0600)]
parser: Refactor frontmatter parser and add tests

Lots of cleanups here:

- Refactor InterfaceToConfig and InterfaceToFrontMatter to use io.Writer.
- Simplify InterfaceToFrontMatter by wrapping InterfaceToConfig.
- Export FrontmatterType since we return it in DetectFrontMatter.
- Refactor removeTOMLIdentifier to avoid blindly replacing "+++".
- Update HandleJSONMetaData to return an empty map on nil input.
- Updates vendored goorgeous package and test for org-mode frontmatter.
- Add tests and godoc comments.

Coverage for parser package increased from 45.2% to 85.2%.

8 years agohugolib: Clean up redundant frontmatter error logging
Cameron Moore [Fri, 10 Mar 2017 21:45:07 +0000 (15:45 -0600)]
hugolib: Clean up redundant frontmatter error logging

Fixes #3157

8 years agodocs: Explain themes dir in quickstart guide
C. S. Samulski [Fri, 10 Mar 2017 18:56:30 +0000 (13:56 -0500)]
docs: Explain themes dir in quickstart guide

Themes is currently not included in the description that follows `tree -a` even
though it is autogenerated for you by `new site`.

8 years agodocs: Add myearworms.com to the showcase
Jay Dreyer [Thu, 9 Mar 2017 01:43:28 +0000 (19:43 -0600)]
docs: Add myearworms.com to the showcase

8 years agohugolib: Default rssLimit to unlimited
Cameron Moore [Fri, 10 Mar 2017 00:41:59 +0000 (18:41 -0600)]
hugolib: Default rssLimit to unlimited

Fixes #3145

8 years agoall: Fix some govet complaints
Albert Nigmatzianov [Thu, 9 Mar 2017 13:18:12 +0000 (18:18 +0500)]
all: Fix some govet complaints

8 years agoUpdate appveyor config
Cameron Moore [Thu, 9 Mar 2017 05:33:02 +0000 (23:33 -0600)]
Update appveyor config

Remove "image" setting as the "WMF 5" image is deprecated.

Fixes #3061, #3142

8 years agotplimpl: Add built-in print funcs to FuncMap
Cameron Moore [Tue, 7 Mar 2017 20:11:03 +0000 (14:11 -0600)]
tplimpl: Add built-in print funcs to FuncMap

Add print, printf, and println to the Hugo FuncMap so that they are
accessible to the apply template func.

Updates #3139