Skip to content

Commit 03c320b

Browse files
authored
Merge pull request #79 from haniffalab/feat/study-landing
add markdown landing_page field to study to hold mdx strings
2 parents b7f9bf5 + c5d540a commit 03c320b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/api/study/content-types/study/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
"type": "component",
9595
"repeatable": true,
9696
"component": "data.media"
97+
},
98+
"landing_page": {
99+
"type": "richtext"
97100
}
98101
}
99102
}

src/api/study/controllers/study.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ module.exports = createCoreController('api::study.study', ({ strapi }) => ({
127127
'slug',
128128
'lay_summary',
129129
'cover_video',
130+
'landing_page',
130131
'createdAt',
131132
'updatedAt',
132133
],

0 commit comments

Comments
 (0)