hugolib: Fix error for non-renderable HTML content with shortcodes
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 10 Feb 2017 10:26:28 +0000 (17:26 +0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 10 Feb 2017 11:57:38 +0000 (18:57 +0700)
commit2618cfbeaa06bd2a4d26b3e3999e3c9ca9a49854
tree40715bf14911177c527225398cb02b6a849f3788
parent25bfa7e12fcd044368e9983481dfd4bfc8558a55
hugolib: Fix error for non-renderable HTML content with shortcodes

This commit re-introduces template lookup order that was accidently removed as
part of the template nonglobal refactoring.

Fixes #3021
hugolib/site_test.go
tpl/template.go