spf13/hugo — pull request #754 by tatsushid (2014-12-29 13:49:22+00:00)
Title: Refactor tpl codes

I found some code repetitions and lack of arguments when I wrote #752. This fixes them
- Use indirect function instead of the same code copies
- Fix missing arguments of some test codes