Fix a bug with taxonomy rendering.
authorAustin Ziegler <austin@zieglers.ca>
Sun, 2 Nov 2014 03:44:21 +0000 (23:44 -0400)
committerspf13 <steve.francia@gmail.com>
Thu, 13 Nov 2014 17:32:10 +0000 (12:32 -0500)
commitd467ec0aab08d91eb84b26d6faad6a6fe340761c
tree5f87244c948eee318281e434173680030c05c4af
parentd7e6e490c2d6d894b2f4ac38b63d05f4744e802f
Fix a bug with taxonomy rendering.

- In `layouts/_default/taxonomy.html`, the `.Data` result does not
  provide the same information that `layouts/_default/terms.html` does
  for being able to identify the plural value of the term.
- This change adds `.Data.Singular` and `.Data.Plural` to provide
  similar capabilities.
- This *may* be incompatible with templates that check for `{{ if ne
  $taxonomy "Pages" }}` if the `page.Params` has either the singular or
  plural values as keys.
hugolib/site.go