@@ -11,20 +11,9 @@ module.exports = {
1111 {
1212 use : "@gridsome/source-filesystem" ,
1313 options : {
14- path : "content/job/**/*.md" ,
1514 typeName : "Job" ,
16- remark : {
17- plugins : [
18- '@gridsome/remark-prismjs'
19- ]
20- }
21- }
22- } ,
23- {
24- use : "@gridsome/source-filesystem" ,
25- options : {
26- path : "content/event/*.md" ,
27- typeName : "Event" ,
15+ path : "content/job/**/*.md" ,
16+ route : '/job/:year/:month/:day/:slug' ,
2817 remark : {
2918 plugins : [
3019 '@gridsome/remark-prismjs'
@@ -36,7 +25,7 @@ module.exports = {
3625 use : "@gridsome/source-filesystem" ,
3726 options : {
3827 path : "content/blog/*.md" ,
39- route : '/blog /:year/:month/:day/:slug' ,
28+ route : '/post /:year/:month/:day/:slug' ,
4029 typeName : "Post" ,
4130 remark : {
4231 plugins : [
@@ -45,19 +34,6 @@ module.exports = {
4534 }
4635 }
4736 } ,
48- {
49- use : "@gridsome/source-filesystem" ,
50- options : {
51- path : "content/info/*.md" ,
52- route : '/info/:year/:month/:day/:slug' ,
53- typeName : "Info" ,
54- remark : {
55- plugins : [
56- '@gridsome/remark-prismjs'
57- ]
58- }
59- }
60- } ,
6137 {
6238 use : "@gridsome/plugin-google-analytics" ,
6339 options : {
0 commit comments