diff --git a/index.js b/index.js index aba4a46..99e7b63 100644 --- a/index.js +++ b/index.js @@ -71,7 +71,7 @@ router.get('/edit/:id', async ctx => { router.post('/edit', koaBody, async ctx => await editPost(ctx, dbName)) -router.get('/:tag', async ctx => await categoriesTagGet(ctx, dbName)) +router.get('/categories/:tag', async ctx => await categoriesTagGet(ctx, dbName)) /** * The user registration page. diff --git a/public/articleImages/1.png b/public/articleImages/1.png index d0289aa..118a330 100644 Binary files a/public/articleImages/1.png and b/public/articleImages/1.png differ diff --git a/public/articleImages/2.png b/public/articleImages/2.png index aa45bc0..4caf5bf 100644 Binary files a/public/articleImages/2.png and b/public/articleImages/2.png differ diff --git a/public/articleImages/3.png b/public/articleImages/3.png deleted file mode 100644 index 84376d3..0000000 Binary files a/public/articleImages/3.png and /dev/null differ diff --git a/public/articleImages/4.png b/public/articleImages/4.png deleted file mode 100644 index 13a80aa..0000000 Binary files a/public/articleImages/4.png and /dev/null differ diff --git a/views/homepage.handlebars b/views/homepage.handlebars index f53a11f..bc0da92 100644 --- a/views/homepage.handlebars +++ b/views/homepage.handlebars @@ -16,11 +16,11 @@ @@ -48,7 +48,7 @@

{{this.title}}

{{this.summary}}
- +
by {{this.author}}
tag: {{this.tag}}

Average Rating: