From 9972b72d91d9daa1e461c4f9eb161e06fe6c4dfe Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Fri, 27 Jul 2018 18:45:19 +0200 Subject: [PATCH] Register get_taxonomy global fn --- components/site/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/site/src/lib.rs b/components/site/src/lib.rs index 200a20e0..ce333849 100644 --- a/components/site/src/lib.rs +++ b/components/site/src/lib.rs @@ -299,7 +299,7 @@ impl Site { self.tera.register_global_function("get_page", global_fns::make_get_page(&self.pages)); self.tera.register_global_function("get_section", global_fns::make_get_section(&self.sections)); self.tera.register_global_function( - "get_taxonomy_url", + "get_taxonomy", global_fns::make_get_taxonomy(self.taxonomies.clone()) ); }