diff --git a/content/site/navigation.json b/content/site/navigation.json index 840a438b1..d0d0b1690 100644 --- a/content/site/navigation.json +++ b/content/site/navigation.json @@ -10,6 +10,11 @@ "link": "/people", "external": false }, + { + "name": "News", + "link": "/news", + "external": false + }, { "name": "Values", diff --git a/gridsome.config.js b/gridsome.config.js index f34eb997f..a17196ce9 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -79,7 +79,7 @@ module.exports = { typeName: 'Blog', path: './content/blog/**/*.md', templates: { - BlogPost: '/blog/:id' + BlogPost: '/news/:id' }, refs: { author: 'Person', @@ -124,7 +124,7 @@ module.exports = { }, templates: { Blog: [{ - path: '/blog/:id' + path: '/news/:id' }], Person: [{ path: '/people/:id', diff --git a/src/pages/Blog.vue b/src/pages/News.vue similarity index 100% rename from src/pages/Blog.vue rename to src/pages/News.vue