File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { ContentTypes } from '@data/content-types' ;
2
+
1
3
export const BASE_SITE_URL = 'https://mikebifulco.com' ;
2
4
3
5
const config = {
@@ -58,4 +60,27 @@ const config = {
58
60
siteUrl : BASE_SITE_URL ,
59
61
} ;
60
62
63
+ export const ContentDefinitions = {
64
+ [ ContentTypes . Post ] : {
65
+ directory : 'src/data/posts' ,
66
+ contentType : ContentTypes . Post ,
67
+ path : 'post' ,
68
+ description : 'Blog posts about design, development, and other topics' ,
69
+ } ,
70
+ [ ContentTypes . Newsletter ] : {
71
+ directory : 'src/data/newsletters' ,
72
+ contentType : ContentTypes . Newsletter ,
73
+ path : 'newsletter' ,
74
+ description :
75
+ 'Weekly newsletter about design, development, and other topics' ,
76
+ } ,
77
+ [ ContentTypes . Article ] : {
78
+ directory : 'src/data/external-references' ,
79
+ contentType : ContentTypes . Article ,
80
+ path : 'article' ,
81
+ description :
82
+ 'External reference articles about design, development, and other topics' ,
83
+ } ,
84
+ } ;
85
+
61
86
export default config ;
You can’t perform that action at this time.
0 commit comments