hugo/hugolib
Bjørn Erik Pedersen e590cc26eb
Improve .Content vs shortcodes
For the content from other pages in shortcodes there are some chicken and
egg dependencies that is hard to get around. But we can improve on this  by preparing the pages in a certain order:

 1. The headless bundles goes first. These are page typically page and image collections..
 2. Leaf bundles
 3. Regular single pages
 4. Branch bundles

Fixes #4632
2018-04-19 14:46:50 +02:00
..
pagemeta
testdata
testsite/content
404_test.go Spring test cleaning, take 2 2018-03-18 09:54:32 +01:00
alias.go
alias_test.go Spring test cleaning, take 2 2018-03-18 09:54:32 +01:00
author.go
case_insensitive_test.go Allow themes to define output formats, media types and params 2018-03-21 09:22:19 +01:00
config.go Fix handling of --contentDir etc. flag 2018-04-07 16:40:45 +02:00
config_test.go Allow themes to define output formats, media types and params 2018-03-21 09:22:19 +01:00
datafiles_test.go hugolib: Test cleaning #1 2018-03-17 18:59:07 +01:00
disableKinds_test.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
embedded_shortcodes_test.go Make Page.Content a method that returns interface{} 2018-04-15 18:08:06 +02:00
fileInfo.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
gitinfo.go
hugo_info.go
hugo_info_test.go
hugo_sites.go Improve .Content vs shortcodes 2018-04-19 14:46:50 +02:00
hugo_sites_build.go Improve .Content vs shortcodes 2018-04-19 14:46:50 +02:00
hugo_sites_build_failures_test.go hugolib: Fix freeze in invalid front matter error case 2018-03-24 10:06:58 +01:00
hugo_sites_build_test.go Make Page.Content a method that returns interface{} 2018-04-15 18:08:06 +02:00
hugo_sites_multihost_test.go Spring test cleaning, take 2 2018-03-18 09:54:32 +01:00
language_content_dir_test.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
media.go
menu.go
menu_test.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
multilingual.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
page.go Improve .Content vs shortcodes 2018-04-19 14:46:50 +02:00
page_bundler.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
page_bundler_capture.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
page_bundler_capture_test.go Fix two tests that are broken on Windows 2018-04-05 08:35:06 +02:00
page_bundler_handlers.go Improve .Content vs shortcodes 2018-04-19 14:46:50 +02:00
page_bundler_test.go Make Page.Content a method that returns interface{} 2018-04-15 18:08:06 +02:00
page_collections.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
page_collections_test.go
page_output.go
page_paths.go
page_paths_test.go
page_permalink_test.go
page_resource.go
page_taxonomy_test.go
page_test.go hugolib: Fix broken test 2018-04-17 10:28:32 +02:00
page_time_integration_test.go
pageCache.go Add a way to merge pages by language 2018-03-16 10:10:01 +01:00
pageCache_test.go Add a way to merge pages by language 2018-03-16 10:10:01 +01:00
pageGroup.go
pageGroup_test.go
pages_language_merge.go Add a way to merge pages by language 2018-03-16 10:10:01 +01:00
pages_language_merge_test.go Add a way to merge pages by language 2018-03-16 10:10:01 +01:00
pages_related.go
pages_related_test.go
pageSort.go Make Page.Content a method that returns interface{} 2018-04-15 18:08:06 +02:00
pageSort_test.go Make Page.Content a method that returns interface{} 2018-04-15 18:08:06 +02:00
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go
path_separators_test.go
permalinker.go
permalinks.go
permalinks_test.go
prune_resources.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
robotstxt_test.go Spring test cleaning, take 2 2018-03-18 09:54:32 +01:00
rss_test.go
scratch.go hugolib: Add Reset method to delete key from Scratch 2018-03-17 00:13:23 +01:00
scratch_test.go hugolib: Add Reset method to delete key from Scratch 2018-03-17 00:13:23 +01:00
shortcode.go .Get doesn't crash on missing positional param 2018-04-17 15:39:33 +02:00
shortcode_test.go Update missing positional parameter test for .Get 2018-04-17 15:39:33 +02:00
shortcodeparser.go Allow "*/" inside commented out shortcodes 2018-04-11 22:41:48 +02:00
shortcodeparser_test.go Allow "*/" inside commented out shortcodes 2018-04-11 22:41:48 +02:00
site.go Improve .Content vs shortcodes 2018-04-19 14:46:50 +02:00
site_benchmark_test.go
site_output.go
site_output_test.go
site_render.go
site_sections.go
site_sections_test.go
site_stats_test.go
site_test.go Add a way to merge pages by language 2018-03-16 10:10:01 +01:00
site_url_test.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
taxonomy.go
taxonomy_test.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
template_engines_test.go
template_test.go
testhelpers_test.go Add support for a content dir set per language 2018-04-02 08:06:21 +02:00
translations.go