More initialism corrections (golint)
authorAnthony Fok <foka@debian.org>
Wed, 18 Mar 2015 05:16:54 +0000 (22:16 -0700)
committerbep <bjorn.erik.pedersen@gmail.com>
Wed, 18 Mar 2015 10:30:37 +0000 (11:30 +0100)
commit8b8fb417ae065954a056ea018bd092748cc9127c
treea9160d1f6acc218bcb8728d729deaf1b532b56b3
parentca69cad8aa5d8eefbce13abd97b2b979339a458c
More initialism corrections (golint)

Thanks to @bep's new, brilliant helpers.Deprecated() function,
the following functions or variables are transitioned to their
new names, preserving backward compatibility for v0.14
and warning the user of upcoming obsolescence in v0.15:

 * .Url → .URL (for node, menu and paginator)
 * .Site.BaseUrl → .Site.BaseURL
 * .Site.Indexes → .Site.Taxonomies
 * .Site.Recent → .Site.Pages
 * getJson → getJSON
 * getCsv → getCSV
 * safeHtml → safeHTML
 * safeCss → safeCSS
 * safeUrl → safeURL

Also fix related initialisms in strings and comments.

Continued effort in fixing #959.
20 files changed:
commands/server.go
helpers/path.go
helpers/url.go
helpers/url_test.go
hugolib/menu.go
hugolib/menu_test.go
hugolib/node.go
hugolib/page.go
hugolib/page_permalink_test.go
hugolib/pagination.go
hugolib/pagination_test.go
hugolib/permalinks.go
hugolib/site.go
target/page_test.go
tpl/template.go
tpl/template_embedded.go
tpl/template_resources.go
tpl/template_test.go
transform/absurl.go
transform/absurlreplacer.go