adapted template function calls to new syntax started with hakyll-4.6.0.0