merge from upstream
more examples and explanation in templates documentation

I tried to make it clearer (to people like me who aren't familiar with Go) that just because something isn't mentioned in the Hugo docs doesn't mean it can't be done