New in Hugo 0.146.0: templates.Current

A new very useful template func to get information about the current template and it’s calling stack:

This was a little bit buried in the noise from that release, so I thought I make it more visible.

5 Likes