summary refs log tree commit diff stats
path: root/src/responders.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/responders.js')
-rw-r--r--src/responders.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/responders.js b/src/responders.js
index b9758f3..e285018 100644
--- a/src/responders.js
+++ b/src/responders.js
@@ -1,6 +1,7 @@
 "use strict";
 
 const fs = require("fs");
+const Case = require("case");
 const hyperfast = require("hyperfast");
 const indent = require("indent-string");
 
@@ -86,12 +87,12 @@ module.exports = {
     );
   },
 
-  taxon(ctx, config, taxonItems) {
+  taxon(ctx, config, term, value, taxonItems) {
     ctx.type = "html";
 
     ctx.body = layout(
       config,
-      null,
+      Case.title(value),
       hyperfast(templates.taxon, {
         ".post": taxonItems.map(renderPostListItem(ctx))
       })