hugo/hugolib
Mattias Wadman 5d50c46482 Chomp Unicode BOM if present
Useful if using or sharing files with users that use editors that
append a unicode byte order marker header (like Windows notepad).

This will still assume files are UTF-8 encoded.

Closes #2075
2016-04-14 10:46:27 +02:00
..
author.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
benchmark_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
datafiles_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
handler_base.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
handler_file.go hugolib: Un-export internal Site-methods 2016-04-08 17:55:23 +02:00
handler_meta.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
handler_page.go hugolib: Remove unused Tmpl on Page 2016-03-24 18:34:41 +01:00
handler_test.go Fix broken tests 2016-04-12 19:18:02 +02:00
hugo.go huglib: Add even more missing GoDoc 2016-04-07 16:05:23 +02:00
media.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
menu.go Spring cleaning of the menu code 2016-03-23 00:29:39 +01:00
menu_test.go Fix section menus for lazy blogger 2016-04-10 13:49:32 +02:00
node.go Revert "Add Node.ID" 2016-04-12 18:11:52 +02:00
node_test.go Revert "Add Node.ID" 2016-04-12 18:11:52 +02:00
page.go Revert "Use Node.ID for anchor ID" 2016-04-12 18:11:24 +02:00
page_permalink_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
page_taxonomy_test.go hugolib: Fix some more Golint warnings 2016-03-23 10:10:28 +01:00
page_test.go Chomp Unicode BOM if present 2016-04-14 10:46:27 +02:00
page_time_integration_test.go hugoblib: Clean up the time tests 2016-03-24 13:30:08 +01:00
pageCache.go Apply gofmt -s 2016-02-06 13:09:52 +01:00
pageCache_test.go hugolib: Some more GoLint fixes 2016-03-24 14:11:04 +01:00
pageGroup.go hugolib: Add GoDoc to pageGroup.go 2016-04-07 15:21:41 +02:00
pageGroup_test.go Re-export the methods used in page group tests 2016-04-07 18:44:58 +02:00
pageSort.go hugolib: Some more unexports 2016-03-25 03:12:31 +01:00
pageSort_test.go Remove Printf in test 2016-02-06 22:19:58 +01:00
pagesPrevNext.go huglib: Add even more missing GoDoc 2016-04-07 16:05:23 +02:00
pagesPrevNext_test.go hugolib: Remove unused code 2016-03-14 15:41:03 +01:00
pagination.go hugolib: Add missing GoDoc in pagination.go 2016-03-24 14:18:47 +01:00
pagination_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
path_separators_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
path_separators_windows_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
permalinks.go hugolib: Some more unexports 2016-03-25 03:12:31 +01:00
permalinks_test.go hugolib: Some more unexports 2016-03-25 03:12:31 +01:00
planner.go huglib: Add even more missing GoDoc 2016-04-07 16:05:23 +02:00
redis.cn.md [Docs] Copyediting 2015-01-28 18:02:40 -07:00
robotstxt_test.go hugolib: Un-export internal Site-methods 2016-04-08 17:55:23 +02:00
rss_test.go hugolib: Un-export internal Site-methods 2016-04-08 17:55:23 +02:00
scratch.go Do not use defer for unlocking in Scratch 2016-03-24 16:03:31 +01:00
scratch_test.go Be explicit about the type in Scratch test 2016-03-24 19:57:26 +01:00
shortcode.go Revert "Use Node.ID for anchor ID" 2016-04-12 18:11:24 +02:00
shortcode_test.go Fix broken tests 2016-04-12 19:18:02 +02:00
shortcodeparser.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
shortcodeparser_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
site.go Fix section menus for lazy blogger 2016-04-10 13:49:32 +02:00
site_show_plan_test.go hugolib: Un-export internal Site-methods 2016-04-08 17:55:23 +02:00
site_test.go Fix broken tests 2016-04-12 19:18:02 +02:00
site_url_test.go hugolib: Un-export internal Site-methods 2016-04-08 17:55:23 +02:00
siteinfo_test.go hugolib: Un-export internal Site-methods 2016-04-08 17:55:23 +02:00
siteJSONEncode_test.go hugolib: Fix Java-styled all-caps consts 2016-03-22 23:59:07 +01:00
sitemap.go hugolib: Fix some more Golint warnings 2016-03-23 10:10:28 +01:00
sitemap_test.go hugolib: Un-export internal Site-methods 2016-04-08 17:55:23 +02:00
summary.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
taxonomy.go Make ByCount sort consistently 2016-04-02 22:59:10 +02:00
taxonomy_test.go Make ByCount sort consistently 2016-04-02 22:59:10 +02:00