hugo/hugolib
Bjørn Erik Pedersen 2f2ea42c09 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
2017-03-11 20:21:06 +01:00
..
testdata
alias.go hugolib, target: Rework/move the target package 2017-03-04 23:33:35 +01:00
alias_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
author.go
case_insensitive_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
config.go hugolib: Default rssLimit to unlimited 2017-03-10 21:27:45 +01:00
config_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
datafiles_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
disableKinds_test.go hugolib: Add missing page kind to allKinds 2017-02-19 09:15:30 +01:00
embedded_shortcodes_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
gitinfo.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
handler_base.go hugolib: Clean up redundant frontmatter error logging 2017-03-10 23:22:43 +01:00
handler_file.go hugolib, target: Rework/move the target package 2017-03-04 23:33:35 +01:00
handler_meta.go
handler_page.go all: Add org-mode support 2017-02-21 08:46:03 +01:00
handler_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
hugo_info.go
hugo_sites.go hugolib: Fix reloading corner cases for shortcodes 2017-03-11 20:21:06 +01:00
hugo_sites_build.go hugolib, target: Rework/move the target package 2017-03-04 23:33:35 +01:00
hugo_sites_build_test.go hugolib: Only return RSSLink when RSS is available 2017-03-01 12:30:41 +01:00
media.go
menu.go hugolib: Finish menu vs section content pages 2017-02-20 22:20:02 +01:00
menu_old_test.go hugolib: Finish menu vs section content pages 2017-02-20 22:20:02 +01:00
menu_test.go hugolib: Finish menu vs section content pages 2017-02-20 22:20:02 +01:00
multilingual.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
node_as_page_test.go hugolib: Populate the taxonomy term Pages list 2017-03-05 21:24:14 +01:00
page.go hugolib: Fix reloading corner cases for shortcodes 2017-03-11 20:21:06 +01:00
page_collections.go hugolib: Fix reloading corner cases for shortcodes 2017-03-11 20:21:06 +01:00
page_permalink_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
page_taxonomy_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
page_test.go all: Fix some govet complaints 2017-03-09 14:18:12 +01:00
page_time_integration_test.go hugolib: Add temporary date parse test 2017-02-19 13:19:15 +01:00
pageCache.go
pageCache_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
pageGroup.go
pageGroup_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
pageSort.go hugolib: Enhance .Param to permit arbitrarily nested parameter references 2017-02-19 08:50:08 +01:00
pageSort_test.go hugolib: Enhance .Param to permit arbitrarily nested parameter references 2017-02-19 08:50:08 +01:00
pagesPrevNext.go
pagesPrevNext_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
pagination.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
pagination_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
path_separators_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
permalinks.go
permalinks_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
robotstxt_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
rss_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
scratch.go
scratch_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
shortcode.go hugolib: Fix reloading corner cases for shortcodes 2017-03-11 20:21:06 +01:00
shortcode_test.go hugolib: Fix reloading corner cases for shortcodes 2017-03-11 20:21:06 +01:00
shortcodeparser.go
shortcodeparser_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
site.go hugolib: Fix reloading corner cases for shortcodes 2017-03-11 20:21:06 +01:00
site_render.go hugolib: Default rssLimit to unlimited 2017-03-10 21:27:45 +01:00
site_test.go hugolib: Fix .Site.LastChange 2017-02-19 13:48:21 +01:00
site_url_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
site_writer.go hugolib, target: Rework/move the target package 2017-03-04 23:33:35 +01:00
site_writer_test.go hugolib, target: Rework/move the target package 2017-03-04 23:33:35 +01:00
siteJSONEncode_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
sitemap.go
sitemap_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
taxonomy.go
taxonomy_test.go hugolib: Populate the taxonomy term Pages list 2017-03-05 21:24:14 +01:00
template_engines_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
template_test.go hugolib: Add section template baseof test case 2017-03-02 13:52:08 +01:00
testhelpers_test.go hugolib, target: Rework/move the target package 2017-03-04 23:33:35 +01:00
translations.go hugolib: Remove unnecessary params 2017-03-08 12:28:56 +01:00