From 4ce0f287b64d2d55c9bdd31dee418ba405762273 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 18 Jun 2017 21:57:15 +0200 Subject: rename 'tag' view to 'term' --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index 52bdff0..ae277d6 100644 --- a/src/index.js +++ b/src/index.js @@ -46,7 +46,8 @@ for (let [term, items] of taxonomies) { 404, `Could not find ${term} ${value}` ) - await ctx.render('tag', { + await ctx.render('term', { + term: term, [term]: value, posts: items.get(ctx.params.value) }) -- cgit 1.4.1