hugo/hugolib
bep da5d98e958 Make First accept any int
TOML and YAML handles integers differently, creating issues when using integer values from configuration or front matter in the First template function.

This currently works in YAML (parses into int), but not in TOML (parses into int64).

This commit modifies First so it accepts any int.

Fixes #551
2014-10-15 12:39:09 -04:00
..
benchmark_test.go
menu.go
node.go
page.go Use md5 against the file path for uniqueness. 2014-10-07 16:45:23 -04:00
page_permalink_test.go
page_taxonomy_test.go
page_test.go #462 fix, remove leading and trailing dashes from urlized slug. includes test changes 2014-10-07 17:05:11 -04:00
page_time_integration_test.go
pageGroup.go
pageSort.go
path_seperators_test.go
path_seperators_windows_test.go
permalinks.go #462 fix, remove leading and trailing dashes from urlized slug. includes test changes 2014-10-07 17:05:11 -04:00
permalinks_test.go
planner.go
redis.cn.md
rss_test.go
shortcode.go Use md5 against the file path for uniqueness. 2014-10-07 16:45:23 -04:00
shortcode_test.go add 'width' parameter to 'figure' shortcode 2014-10-15 12:09:26 -04:00
site.go Feed the titleized taxonomy key through string replace to replace '-' with ' ' for proper display of the taxonmy title 2014-10-07 17:01:39 -04:00
site_show_plan_test.go
site_test.go add some information to rendering errors so it's easier to tell what's failing. 2014-09-29 09:19:39 -04:00
site_url_test.go
siteinfo_test.go
sitemap.go
sitemap_test.go
summary.go
taxonomy.go
taxonomy_test.go
template.go Make First accept any int 2014-10-15 12:39:09 -04:00
template_embedded.go add 'width' parameter to 'figure' shortcode 2014-10-15 12:09:26 -04:00
template_test.go Make First accept any int 2014-10-15 12:39:09 -04:00