hugo/hugolib
Anthony Fok 803865f870 Fix for page.GetParam() for JSON and TOML maps
Setting per-page Blackfriday angledQuotes did not work
with TOML or JSON front matter, but it does work with YAML.

It turns out that page.Params("blackfriday") returns
type map[interface{}]interface{} for YAML, but
type map[string]interface{} for JSON and TOML.

This patch updates page.GetParam() to catch the latter,
with an error message if page.GetParam() does not recognize
a type.  A test is also added.
2015-01-24 15:25:44 +01:00
..
author.go Added AuthorList, Author, AuthorSocial, SiteSocial, Image and Video structs 2014-12-18 22:26:10 -05:00
benchmark_test.go
handler_base.go
handler_file.go
handler_meta.go
handler_page.go Register rstHandler to restore experimental reST support 2015-01-21 06:41:19 -07:00
hugo.go Fix the Hugo.Generator tag so it can be used 2015-01-19 08:26:06 +01:00
media.go Added AuthorList, Author, AuthorSocial, SiteSocial, Image and Video structs 2014-12-18 22:26:10 -05:00
menu.go
menu_test.go Fix RelPermalink() and Urls in menus vs canonifyUrls 2015-01-23 14:13:00 +01:00
node.go Fix RelPermalink() and Urls in menus vs canonifyUrls 2015-01-23 14:13:00 +01:00
page.go Fix for page.GetParam() for JSON and TOML maps 2015-01-24 15:25:44 +01:00
page_permalink_test.go Fix RelPermalink() and Urls in menus vs canonifyUrls 2015-01-23 14:13:00 +01:00
page_taxonomy_test.go
page_test.go Fix for page.GetParam() for JSON and TOML maps 2015-01-24 15:25:44 +01:00
page_time_integration_test.go
pageGroup.go
pageGroup_test.go Fix various Windows-issues 2014-12-09 09:43:15 -05:00
pageSort.go
pagesPrevNext.go Adding Prev/Next functionality to all lists of pages (sections, taxonomies, etc) 2014-11-27 23:15:25 -05:00
pagesPrevNext_test.go Adding Prev/Next functionality to all lists of pages (sections, taxonomies, etc) 2014-11-27 23:15:25 -05:00
path_separators_test.go Correct spelling of two test files: seperators → separators 2015-01-11 02:21:51 -07:00
path_separators_windows_test.go Correct typo in hugolib/path_separators_windows_test.go 2015-01-12 13:15:04 -07:00
permalinks.go
permalinks_test.go
planner.go
redis.cn.md
rss_test.go
shortcode.go Protect the innerShortCodeCache by a RW lock 2015-01-21 19:13:11 +01:00
shortcode_test.go Fix issue with nested shortcodes 2015-01-15 12:21:15 +01:00
shortcodeparser.go
shortcodeparser_test.go
site.go Fix RelPermalink() and Urls in menus vs canonifyUrls 2015-01-23 14:13:00 +01:00
site_show_plan_test.go Fix various Windows-issues 2014-12-09 09:43:15 -05:00
site_test.go Fix various Windows-issues 2014-12-09 09:43:15 -05:00
site_url_test.go Fix various Windows-issues 2014-12-09 09:43:15 -05:00
siteinfo_test.go
sitemap.go
sitemap_test.go
summary.go
taxonomy.go Adding Prev/Next functionality to all lists of pages (sections, taxonomies, etc) 2014-11-27 23:15:25 -05:00
taxonomy_test.go