brevno-suite/hugo
8 years agonode to page: Handle aliases on home page etc.
Bjørn Erik Pedersen [Thu, 10 Nov 2016 10:01:58 +0000 (11:01 +0100)]
node to page: Handle aliases on home page etc.

Updates #2297

8 years agonode to page: Handle menus on home page etc.
Bjørn Erik Pedersen [Thu, 10 Nov 2016 09:53:12 +0000 (10:53 +0100)]
node to page: Handle menus on home page etc.

Updates #2297

8 years agonode to page: Handle taxonomies on home page etc.
Bjørn Erik Pedersen [Wed, 9 Nov 2016 19:55:42 +0000 (20:55 +0100)]
node to page: Handle taxonomies on home page etc.

Updates #2297

8 years agonode to page: Add all nodes to sitemap
Bjørn Erik Pedersen [Wed, 9 Nov 2016 18:59:28 +0000 (19:59 +0100)]
node to page: Add all nodes to sitemap

Updates #2297
Fixes #1303

8 years agonode to page: Do not create section node for root
Bjørn Erik Pedersen [Wed, 9 Nov 2016 10:09:16 +0000 (11:09 +0100)]
node to page: Do not create section node for root

Because that will overwrite the home page, which is bad.

Updates #2297

8 years agonode to page: Get Rebuild up to speed
Bjørn Erik Pedersen [Wed, 9 Nov 2016 08:58:18 +0000 (09:58 +0100)]
node to page: Get Rebuild up to speed

Updates #2297

8 years agonode to page: Fix home target path on Windows
Bjørn Erik Pedersen [Tue, 8 Nov 2016 23:19:37 +0000 (00:19 +0100)]
node to page: Fix home target path on Windows

Updates #2297

8 years agonode to page: Remove unused code
Bjørn Erik Pedersen [Tue, 8 Nov 2016 22:49:42 +0000 (23:49 +0100)]
node to page: Remove unused code

Updates #2297

8 years agonode to page: Handle aliases, 404, robots.txt, sitemap
Bjørn Erik Pedersen [Tue, 8 Nov 2016 22:34:52 +0000 (23:34 +0100)]
node to page: Handle aliases, 404, robots.txt, sitemap

Updates #2297

8 years agonode to page: Handle translations
Bjørn Erik Pedersen [Mon, 7 Nov 2016 19:24:37 +0000 (20:24 +0100)]
node to page: Handle translations

Updates #2297

8 years agonode to page: Fix the page collections
Bjørn Erik Pedersen [Thu, 3 Nov 2016 23:34:25 +0000 (00:34 +0100)]
node to page: Fix the page collections

Updates #2297

8 years agonode to page: Use _index as identificator for the list nodes
Bjørn Erik Pedersen [Thu, 3 Nov 2016 10:36:47 +0000 (11:36 +0100)]
node to page: Use _index as identificator for the list nodes

Updates #2297

8 years agonode to page: Handle RSS
Bjørn Erik Pedersen [Wed, 2 Nov 2016 20:34:19 +0000 (21:34 +0100)]
node to page: Handle RSS

Updates #2297

8 years agonode to page: Create pages for nodes without content
Bjørn Erik Pedersen [Tue, 1 Nov 2016 21:39:24 +0000 (22:39 +0100)]
node to page: Create pages for nodes without content

Updates #2297

8 years agonode to page: Handle taxonomy terms
Bjørn Erik Pedersen [Tue, 1 Nov 2016 15:47:15 +0000 (16:47 +0100)]
node to page: Handle taxonomy terms

Updates #2297

8 years agonode to page: Handle taxonomy lists
Bjørn Erik Pedersen [Mon, 31 Oct 2016 18:53:33 +0000 (19:53 +0100)]
node to page: Handle taxonomy lists

Updates #2297

8 years agonode to page: Handle sections
Bjørn Erik Pedersen [Mon, 31 Oct 2016 17:03:02 +0000 (18:03 +0100)]
node to page: Handle sections

Updates #2297

8 years agonode to page: Handle home
Bjørn Erik Pedersen [Mon, 31 Oct 2016 09:23:01 +0000 (10:23 +0100)]
node to page: Handle home

With refactored paginator handling.

Updates #2297

8 years agonode to page: Basic outline
Bjørn Erik Pedersen [Sun, 30 Oct 2016 16:59:24 +0000 (17:59 +0100)]
node to page: Basic outline

Updates #2297

8 years agoRevert "Fix case issues with Params"
Bjørn Erik Pedersen [Tue, 22 Nov 2016 08:42:11 +0000 (09:42 +0100)]
Revert "Fix case issues with Params"

This reverts commit 239c75c7f866e8970b794a9e7bac73de46052241.

There is a ininite loop in there somewhere on my site that needs to be resolved.

8 years agoFix case issues with Params
Bjørn Erik Pedersen [Tue, 22 Nov 2016 08:04:38 +0000 (09:04 +0100)]
Fix case issues with Params

There are currently several Params and case related issues floating around in Hugo.

This is very confusing for users and one of the most common support questions on the forum.

And while there have been done some great leg work in Viper etc., this is of limited value since this and similar doesn't work:

`Params.myCamelCasedParam`

Hugo has control over all the template method invocations, and can take care of all the lower-casing of the map lookup keys.

But that doesn't help with direct template lookups of type `Site.Params.TWITTER_CONFIG.USER_ID`.

This commit solves that by doing some carefully crafted modifications of the templates' AST -- lowercasing the params keys.

This is low-level work, but it's not like the template API wil change -- and this is important enough to defend such "bit fiddling".

Tests are added for all the template engines: Go templates, Ace and Amber.

Fixes #2615
Fixes #1129
Fixes #2590

8 years agodocs: Fix list template link
Bjørn Erik Pedersen [Mon, 21 Nov 2016 23:37:10 +0000 (00:37 +0100)]
docs: Fix list template link

8 years agodocs: Add a simple list template
Bjørn Erik Pedersen [Sun, 20 Nov 2016 14:37:18 +0000 (15:37 +0100)]
docs: Add a simple list template

Fixes #2710

8 years agohugolib: Don't write zero-bytes files to disk
Bjørn Erik Pedersen [Sun, 20 Nov 2016 13:59:21 +0000 (14:59 +0100)]
hugolib: Don't write zero-bytes files to disk

Fixes #2709

8 years agodocs: Rename RSSlink to RSSLink
Bjørn Erik Pedersen [Thu, 17 Nov 2016 07:18:55 +0000 (08:18 +0100)]
docs: Rename RSSlink to RSSLink

The former will be deprecated.

8 years agocommands: Make benchmark command more useful
Albert Nigmatzianov [Fri, 18 Nov 2016 23:06:54 +0000 (00:06 +0100)]
commands: Make benchmark command more useful

* Add information about average time, memory consumption and
allocations.
* Fix situation, when user provides memprofile and cpuprofile, but
cpuprofile will not created.

Fixes #2432

8 years agodocs: Add balaramadurai.net to the showcase
balaramadurai [Thu, 17 Nov 2016 07:16:14 +0000 (12:46 +0530)]
docs: Add balaramadurai.net to the showcase

8 years agovendor: Update deps
Bjørn Erik Pedersen [Wed, 16 Nov 2016 12:28:21 +0000 (13:28 +0100)]
vendor: Update deps

8 years agotpl: Add imageConfig function
Tristan Rice [Wed, 16 Nov 2016 12:00:45 +0000 (04:00 -0800)]
tpl: Add imageConfig function

Add imageConfig function which calls image.DecodeConfig and returns the height, width and color mode of the image. (#2677)

This allows for more advanced image shortcodes and templates such as those required by AMP.

layouts/shortcodes/amp-img.html
```
{{ $src := .Get "src" }}
{{ $config := imageConfig (printf "/static/%s" $src) }}

<amp-img src="{{$src}}"
           height="{{$config.Height}}"
           width="{{$config.Width}}"
           layout="responsive">
</amp-img>
```

8 years agosource, tpl: Fix staticcheck complaints
Albert Nigmatzianov [Tue, 15 Nov 2016 20:22:43 +0000 (21:22 +0100)]
source, tpl: Fix staticcheck complaints

tpl/template_funcs.go:1019:3: the surrounding loop is unconditionally terminated
source/lazy_file_reader.go:66:5: err != nil is always true for all possible
values ([nil:error] != [nil:error])

8 years agodocs: Fix typos in extras/scratch.md
Rafael Monteiro [Sat, 12 Nov 2016 22:47:07 +0000 (20:47 -0200)]
docs: Fix typos in extras/scratch.md

8 years agohugolib: Must update PathSpec on SiteInfo per language
Bjørn Erik Pedersen [Mon, 7 Nov 2016 20:16:55 +0000 (21:16 +0100)]
hugolib: Must update PathSpec on SiteInfo per language

8 years agocommands, tpl: Get rid of repeating viper accesses
Albert Nigmatzianov [Sun, 6 Nov 2016 23:10:32 +0000 (00:10 +0100)]
commands, tpl: Get rid of repeating viper accesses

* all: Delete some blank lines
* commands, tpl: Get rid of repeating viper accesses

8 years agohugolib: Fix page sorting when weight is zero
Bjørn Erik Pedersen [Sun, 6 Nov 2016 14:38:52 +0000 (15:38 +0100)]
hugolib: Fix page sorting when weight is zero

Fixes #2673

8 years agodocs: Add article by Zetao Yang
Ahmed Zetao Yang [Mon, 17 Oct 2016 03:09:37 +0000 (11:09 +0800)]
docs: Add article by Zetao Yang

8 years agodocs: Compress Hugo logo (hugo.png)
JoeArizona [Tue, 19 Jul 2016 03:43:58 +0000 (20:43 -0700)]
docs: Compress Hugo logo (hugo.png)

8 years agotpl: Golint fixes
Bjørn Erik Pedersen [Sat, 5 Nov 2016 16:27:40 +0000 (17:27 +0100)]
tpl: Golint fixes

8 years agohelpers: Golint fixes
Bjørn Erik Pedersen [Sat, 5 Nov 2016 16:05:33 +0000 (17:05 +0100)]
helpers: Golint fixes

8 years agohugolib: Simplify range
Bjørn Erik Pedersen [Sat, 5 Nov 2016 16:05:18 +0000 (17:05 +0100)]
hugolib: Simplify range

8 years agodocs: Update roadmap
digitalcraftsman [Fri, 4 Nov 2016 19:18:01 +0000 (20:18 +0100)]
docs: Update roadmap

Closes #2666

8 years agoEnhance commit message guidelines
digitalcraftsman [Fri, 4 Nov 2016 18:37:41 +0000 (19:37 +0100)]
Enhance commit message guidelines

8 years agodocs: Link latest change as commit in the footer
digitalcraftsman [Fri, 4 Nov 2016 16:28:27 +0000 (17:28 +0100)]
docs: Link latest change as commit in the footer

8 years agodoc: Add a "Deployment with rsync" tutorial page
Adrien Poupin [Tue, 1 Nov 2016 22:04:12 +0000 (23:04 +0100)]
doc: Add a "Deployment with rsync" tutorial page

This is kind of a generic process and not so difficult. It seems important to me that it should be documented.

8 years agotransform: Return any read or write error from Apply
Bjørn Erik Pedersen [Thu, 3 Nov 2016 23:44:49 +0000 (00:44 +0100)]
transform: Return any read or write error from Apply

8 years agocommands: Move initialization of flags in separate function
Albert Nigmatzianov [Thu, 3 Nov 2016 10:33:53 +0000 (11:33 +0100)]
commands: Move initialization of flags in separate function

And clean up flag variables.

8 years agodocs: Remove non-showcase Hugo sites
Bjørn Erik Pedersen [Wed, 2 Nov 2016 18:11:05 +0000 (19:11 +0100)]
docs: Remove non-showcase Hugo sites

I.e. sites with no mention of Hugo or hugo etc. in the HTML source.

Fixes #2655

8 years agoAdd GitInfo
Bjørn Erik Pedersen [Tue, 1 Nov 2016 22:04:12 +0000 (23:04 +0100)]
Add GitInfo

This commit adds a `GitInfo` object to `Page` if `EnableGitInfo` is set.

It then also sets `Lastmod` for the given `Page` to the author date provided by Git.

The Git integrations should be fairly performant, but it adds "some time" to the build, somewhat depending on the Git history size.

If you want, you can run without during development and turn it on when deploying to the live server: `hugo --enableGitInfo`.

Fixes #2102

8 years agoFix page names that contain dot
Prashant Karmakar [Tue, 1 Nov 2016 13:18:24 +0000 (18:48 +0530)]
Fix page names that contain dot

changes:
    - in hugolib/page.go, `func permalink` and `func TargetPath`
      Fixed the attempt to *replace* the extension of something
      that was *already* a basename.
    - in source/file.go, `func NewFile`
      added check for allowed languages before translating filename

Fixes #2555

8 years agoRevert "docs: Add www.bullion-investor.com to the showcase gallery"
Bjørn Erik Pedersen [Mon, 31 Oct 2016 21:32:53 +0000 (22:32 +0100)]
Revert "docs: Add bullion-investor.com to the showcase gallery"

No hugo generator tag, probably not a Hugo a site, certainly not a showcase.

This reverts commit b5bc74ca4609ce8cf77633c0f93fddc46814a35a.

8 years agodocs: Add www.bullion-investor.com to the showcase gallery
ITSecMedia [Fri, 28 Oct 2016 09:21:58 +0000 (11:21 +0200)]
docs: Add bullion-investor.com to the showcase gallery

8 years agodocs: Add two articles written by Hash Borgir
digitalcraftsman [Sat, 29 Oct 2016 12:02:14 +0000 (14:02 +0200)]
docs: Add two articles written by Hash Borgir

8 years agoFix RSS Title regression
Bjørn Erik Pedersen [Fri, 28 Oct 2016 12:46:33 +0000 (14:46 +0200)]
Fix RSS Title regression

And add tests to make sure it doesn't happen again.

Fixes #2645

8 years agoMake it clear that Path is relative to content root
Bjørn Erik Pedersen [Fri, 28 Oct 2016 08:35:19 +0000 (10:35 +0200)]
Make it clear that Path is relative to content root

Fixes #2290

8 years agoRefactor Page tests
Bjørn Erik Pedersen [Fri, 28 Oct 2016 07:34:47 +0000 (09:34 +0200)]
Refactor Page tests

* To handle config in one place
* To use the real builder chain

8 years agoRemove Wercker config
Bjørn Erik Pedersen [Thu, 27 Oct 2016 19:43:43 +0000 (21:43 +0200)]
Remove Wercker config

Hopefully fixes

8 years agoMake Amber read from the Afero source file system
Bjørn Erik Pedersen [Wed, 26 Oct 2016 18:50:12 +0000 (20:50 +0200)]
Make Amber read from the Afero source file system

8 years agoAdd missing template error logging
Bjørn Erik Pedersen [Tue, 25 Oct 2016 20:56:44 +0000 (22:56 +0200)]
Add missing template error logging

8 years agoGet rid of the rawContentCopy field of the Page struct
Joonatan Saarhelo [Tue, 25 Oct 2016 18:40:32 +0000 (21:40 +0300)]
Get rid of the rawContentCopy field of the Page struct

It is not needed, because it is only used to store temporary data during `preparePagesForRender`.

8 years agodocs: Fix punctuation in content.md
Sam Klein [Mon, 24 Oct 2016 18:52:46 +0000 (13:52 -0500)]
docs: Fix punctuation in content.md

- removed comma on line 16 to avoid confusion between clauses
- added period to line 24 for consistency
- clarified "read on" on line 30 to follow style above it while
  also verbally writing what the author seems to intend
- removed "You probably know what to do." on line 30 due to wordiness
  that could lead to confusion and a drag in reading speed

8 years agodocs: Add clearhaus.com to the showcase
teodorraul [Mon, 24 Oct 2016 06:40:46 +0000 (08:40 +0200)]
docs: Add clearhaus.com to the showcase

8 years agodocs: Fix typos in content section
Sam Klein [Mon, 24 Oct 2016 19:05:19 +0000 (14:05 -0500)]
docs: Fix typos in content section

- changed preposition into intended infinitive for syntactical clarity
- removed "easily" as it doesn't describe anything technical and is
  confusing (which is why the author may have used a preposition)

8 years agoRemove now superfluous lowercasing
Bjørn Erik Pedersen [Mon, 24 Oct 2016 19:33:11 +0000 (21:33 +0200)]
Remove now superfluous lowercasing

See #2615
See #1129

8 years agovendor: Update Viper
Bjørn Erik Pedersen [Mon, 24 Oct 2016 19:21:37 +0000 (21:21 +0200)]
vendor: Update Viper

8 years agoall: Unify case of config variable names
Albert Nigmatzianov [Mon, 24 Oct 2016 18:56:00 +0000 (20:56 +0200)]
all: Unify case of config variable names

All config variables starts with low-case and uses camelCase.

If there is abbreviation at the beginning of the name, the whole
abbreviation will be written in low-case.
If there is abbreviation at the end of the name, the
whole abbreviation will be written in upper-case.
For example, rssURI.

8 years agoHandle ToC before handling shortcodes
Luca Corbatto [Mon, 24 Oct 2016 12:40:57 +0000 (14:40 +0200)]
Handle ToC before handling shortcodes

Fixes #2433

8 years agotpl: Fix comment
Bjørn Erik Pedersen [Mon, 24 Oct 2016 12:32:31 +0000 (14:32 +0200)]
tpl: Fix comment

8 years agoAvoid reading from Viper for path and URL funcs
Bjørn Erik Pedersen [Mon, 24 Oct 2016 11:45:30 +0000 (13:45 +0200)]
Avoid reading from Viper for path and URL funcs

The gain, given the "real sites benchmark" below, is obvious:

```
benchmark           old ns/op       new ns/op       delta
BenchmarkHugo-4     14497594101     13084156335     -9.75%

benchmark           old allocs     new allocs     delta
BenchmarkHugo-4     57404335       48282002       -15.89%

benchmark           old bytes       new bytes      delta
BenchmarkHugo-4     9933505624      9721984424     -2.13%
```

Fixes #2495

8 years agodocs: Clarify installation of themes
digitalcraftsman [Sat, 22 Oct 2016 15:08:35 +0000 (17:08 +0200)]
docs: Clarify installation of themes

8 years agodocs: Improve instructions in quickstart.md
Nicholas Thomson [Thu, 20 Oct 2016 17:18:57 +0000 (13:18 -0400)]
docs: Improve instructions in quickstart.md

8 years agodocs: Add dmitriid.com to the showcase
Dmitrii Dimandt [Wed, 19 Oct 2016 15:22:23 +0000 (17:22 +0200)]
docs: Add dmitriid.com to the showcase

8 years agoBump Travis to Go 1.7.3
Bjørn Erik Pedersen [Wed, 19 Oct 2016 19:53:56 +0000 (21:53 +0200)]
Bump Travis to Go 1.7.3

8 years agocommands: Do not print error on missing unknown dirs
Bjørn Erik Pedersen [Wed, 19 Oct 2016 18:08:57 +0000 (20:08 +0200)]
commands: Do not print error on missing unknown dirs

See #2602

8 years agocommands: Only watch relevant themes dir
Bjørn Erik Pedersen [Wed, 19 Oct 2016 17:59:15 +0000 (19:59 +0200)]
commands: Only watch relevant themes dir

The same behavior as for the root project.

Fixes #2602

8 years agoAdd page context to error logging in rendering
choeppler [Wed, 19 Oct 2016 13:22:40 +0000 (15:22 +0200)]
Add page context to error logging in rendering

Add logging of the errors/warnings which rst2html outputs to its stderr
stream when rendering rst documents. Note that rst2html outputs warnings
and errors to stderr but it also adds them to the generated html. ->
hugo logs everything in stderr as error.

Add / complete adding page context (path to file being rendered) to
anything logged by getRstContent and getAsciidocContent.

See #2570

8 years agoFix a more summary corner case
Bjørn Erik Pedersen [Tue, 18 Oct 2016 06:43:44 +0000 (08:43 +0200)]
Fix a more summary corner case

Also refactor the rendering pages test to accept more than one page source per test run, which wasn't really needed for this issue, but may be in the future.

Closes #2586
Fixes #2538

8 years agoConsolidate the Param methods
Bjørn Erik Pedersen [Mon, 17 Oct 2016 17:30:21 +0000 (19:30 +0200)]
Consolidate the Param methods

Maps in Viper, Hugo's config backing store, is now properly lower-cased not just on top level, the current situation.

While this is mostly a good thing, as you don't need to know the original casing to look up a value, it will be breaking for people doing direct lookups in the ´Site.Params` map.

We will try to find a solution to this "breakage", but the recommended method to get params values is via the `.Param` methods.

This method is now implemented on `Node`, `Page` and `Site` and is case-insensitive:

* Use `.Param "someKey" ` if you want page param with fall back to site param if not found on page.
* Use `.Site.Param "someKey"` to get a site param

See #2590

8 years agodocs: Add singular/plural i18n example
Bjørn Erik Pedersen [Wed, 12 Oct 2016 15:04:50 +0000 (17:04 +0200)]
docs: Add singular/plural i18n example

8 years agodocs: Add christianmendoza.me to the showcase
Christian Mendoza [Sun, 16 Oct 2016 17:46:10 +0000 (13:46 -0400)]
docs: Add christianmendoza.me to the showcase

8 years agodocs: Add fixatom.com to the showcase
Chen Fangzhou [Mon, 17 Oct 2016 08:33:50 +0000 (16:33 +0800)]
docs: Add fixatom.com to the showcase

8 years agodocs: Add hugojoomla to the tools section
digitalcraftsman [Mon, 17 Oct 2016 13:50:49 +0000 (15:50 +0200)]
docs: Add hugojoomla to the tools section

8 years agodocs: Remove merge artifact
János Illés [Sun, 16 Oct 2016 19:45:28 +0000 (21:45 +0200)]
docs: Remove merge artifact

8 years agohelpers: Slight improvement of ToLowerMap
Bjørn Erik Pedersen [Sun, 16 Oct 2016 20:49:21 +0000 (22:49 +0200)]
helpers: Slight improvement of ToLowerMap

See #2581

8 years agoFix case issue Viper vs Blackfriday config
Bjørn Erik Pedersen [Sun, 16 Oct 2016 17:28:21 +0000 (19:28 +0200)]
Fix case issue Viper vs Blackfriday config

There are still work to be done in the case department, but that will have to be another day.

Fixes #2581
See https://github.com/spf13/viper/issues/261

8 years agodocs: Update link for Ace template site
digitalcraftsman [Sun, 16 Oct 2016 12:39:09 +0000 (14:39 +0200)]
docs: Update link for Ace template site

8 years agodocs: Add docs.eurie.io to the showcase
iktakahiro [Sat, 15 Oct 2016 15:13:38 +0000 (00:13 +0900)]
docs: Add docs.eurie.io to the showcase

8 years agodocs: Add GitLab to Forestry.io integrations
digitalcraftsman [Sun, 16 Oct 2016 12:26:48 +0000 (14:26 +0200)]
docs: Add GitLab to Forestry.io integrations

8 years agoFix pygments check in test
Bjørn Erik Pedersen [Sat, 15 Oct 2016 14:47:43 +0000 (16:47 +0200)]
Fix pygments check in test

8 years agovendor: Add external
Bjørn Erik Pedersen [Sat, 15 Oct 2016 14:37:48 +0000 (16:37 +0200)]
vendor: Add external

8 years agoMake the pygments shortcode test matching less specific
Bjørn Erik Pedersen [Sat, 15 Oct 2016 13:29:17 +0000 (15:29 +0200)]
Make the pygments shortcode test matching less specific

So it does not fail on "other" pygments versions.

8 years agoImplement support for alias templates
Nate Finch [Sat, 15 Oct 2016 11:35:32 +0000 (07:35 -0400)]
Implement support for alias templates

This change adds a canonical alias.html template that is used for page
redirects, and passes the page as data to the template under .Page

Fixes #2533
Closes #2576

8 years agoUpdated link for Ace template site
vsopvsop [Sat, 15 Oct 2016 11:18:26 +0000 (16:48 +0530)]
Updated link for Ace template site

8 years agoUse govendor sync instead of get
Cameron Moore [Fri, 14 Oct 2016 21:41:02 +0000 (16:41 -0500)]
Use govendor sync instead of get

8 years agoRewrite TestRSSOutput to use Afero
Bjørn Erik Pedersen [Fri, 14 Oct 2016 14:41:55 +0000 (16:41 +0200)]
Rewrite TestRSSOutput to use Afero

When we have a virtual filesystem, we might as well test as close to the iron as possible.

8 years agoAdd workaround for block template crash
Bjørn Erik Pedersen [Fri, 14 Oct 2016 09:01:49 +0000 (11:01 +0200)]
Add workaround for block template crash

Fixes #2549

8 years agoUse example.org for replace-this-with-your-hugo-site.com
Bjørn Erik Pedersen [Fri, 14 Oct 2016 07:34:08 +0000 (09:34 +0200)]
Use example.org for replace-this-with-your-hugo-site.com

Fixes #2575

8 years agoAdded GitLab to Forestry.io integrations
Scott Gallant [Thu, 13 Oct 2016 14:24:51 +0000 (10:24 -0400)]
Added GitLab to Forestry.io integrations

8 years agoall: Remove dead code
Albert [Thu, 13 Oct 2016 11:51:16 +0000 (13:51 +0200)]
all: Remove dead code

8 years agoAdd context to asciidoc/-tor error logging
C. Hoeppler [Thu, 13 Oct 2016 08:30:43 +0000 (10:30 +0200)]
Add context to asciidoc/-tor error logging

Add DocumentName (path to the file being rendered) to RenderingContext
and use that information to include the path in the error print.

See #2399
Closes #2567

8 years agoAdd logging of asciidoc/-tor errors
C. Hoeppler [Thu, 13 Oct 2016 05:34:47 +0000 (07:34 +0200)]
Add logging of asciidoc/-tor errors

Add logging of the errors which asciidoc and asciidoctor output to their
stderr stream when converting asciidoc documents. Note that
asciidoctor's exit code may be SUCCESS even if there are ERROR messages
in its stderr output (tested with Asciidoctor 0.1.4 and 1.5.5).
Therefore log the stderr output whenever it is non-empty.

See #2399

8 years agoLog on error in translation file
Bjørn Erik Pedersen [Wed, 12 Oct 2016 14:54:29 +0000 (16:54 +0200)]
Log on error in translation file

Fixes #2562