all repos — archive/homestead @ 4ce0f287b64d2d55c9bdd31dee418ba405762273

My future indieweb platform

rename 'tag' view to 'term'

Alan Pearce
commit

4ce0f287b64d2d55c9bdd31dee418ba405762273

parent

e58d6a1718b3358f91fbda10e2291ea4ec01d1e7

2 files changed, 2 insertions(+), 1 deletion(-)

changed files
M src/index.jssrc/index.js
@@ -46,7 +46,8 @@ items.has(ctx.params.value),
404, `Could not find ${term} ${value}` ) - await ctx.render('tag', { + await ctx.render('term', { + term: term, [term]: value, posts: items.get(ctx.params.value) })