Make about page dynamic

This commit is contained in:
samaradel
2020-12-02 16:56:10 +02:00
parent d9ec21e0fd
commit 8eff8bfad5
11 changed files with 204 additions and 233 deletions

View File

@@ -8,33 +8,31 @@ module.exports = {
siteName: 'ThreeFold Partners',
siteDescription: 'ThreeFold Partners',
siteUrl: 'http://localhost:8080',
plugins: [
{
use: 'gridsome-plugin-flexsearch',
options: {
searchFields: ['name', 'title','excerpt', 'author', 'content'],
collections: [
{
typeName: 'Blog',
indexName: 'Blog',
fields: ['path']
},
{
typeName: 'Project',
indexName: 'Project',
fields: ['path']
},
{
typeName: 'Person',
indexName: 'Person',
fields: ['path']
},
]
}
},
{
plugins: [{
use: 'gridsome-plugin-flexsearch',
options: {
searchFields: ['name', 'title', 'excerpt', 'author', 'content'],
collections: [{
typeName: 'Blog',
indexName: 'Blog',
fields: ['path']
},
{
typeName: 'Project',
indexName: 'Project',
fields: ['path']
},
{
typeName: 'Person',
indexName: 'Person',
fields: ['path']
},
]
}
},
{
use: 'gridsome-plugin-tailwindcss',
options: {
tailwindConfig: './tailwind.config.js',
@@ -115,8 +113,6 @@ module.exports = {
}
}
},
{
use: '@gridsome/source-filesystem',
options: {
@@ -135,6 +131,13 @@ module.exports = {
}
}
}
},
{
use: '@gridsome/source-filesystem',
options: {
typeName: 'Slides',
path: './content/about/**/*.md'
}
}
],
transformers: {
@@ -161,7 +164,7 @@ module.exports = {
path: '/people/:id',
component: '~/templates/Person.vue'
}],
BlogTag: [{
path: '/tags/blog/:id',
component: '~/templates/Tag.vue'
@@ -179,7 +182,7 @@ module.exports = {
path: '/projects/tags/:id',
component: '~/templates/Tag.vue'
}],
Membership: [{
path: '/memberships/:id',
component: '~/templates/Membership.vue'