Commit a7e13c6e authored by 吕祺's avatar 吕祺 ⛹🏽

add shengtai config

parent 638b34f3
---
rollimage1: /static/img/屏幕截图-2021-08-05-143335.png
rollimage2: /static/img/屏幕截图-2021-08-05-143335.png
qiyeImage: /static/img/屏幕截图-2021-08-13-162212.png
pingtaiImage: /static/img/屏幕截图-2021-08-13-162212.png
---
...@@ -157,6 +157,18 @@ collections: ...@@ -157,6 +157,18 @@ collections:
- { label: "Cover", name: "cover", widget: "image" } - { label: "Cover", name: "cover", widget: "image" }
- { label: "Avatar", name: "logo", widget: "image" } - { label: "Avatar", name: "logo", widget: "image" }
- { label: "JumpUrl", name: "jumpUrl", widget: "string", required: false } - { label: "JumpUrl", name: "jumpUrl", widget: "string", required: false }
- name: "shengtaiPage"
label: "shengtaiPage"
files:
- label: "shengtaiPage"
name: "shengtaiPage"
file: "content/stpage.md"
fields:
- { label: "RollImage1", name: "rollimage1", widget: "image" }
- { label: "RollImage2", name: "rollimage2", widget: "image", required: false }
- { label: "高榕生态企业服务", name: "qiyeImage", widget: "image"}
- { label: "平台资源", name: "pingtaiImage", widget: "image"}
- name: "article" - name: "article"
label: "article" label: "article"
......
...@@ -19,6 +19,7 @@ try { ...@@ -19,6 +19,7 @@ try {
convert('ronghuipage') convert('ronghuipage')
convert('hrpage') convert('hrpage')
convert('prpage') convert('prpage')
convert('stpage')
// let doc = yaml.loadAll(fs.readFileSync('./content/frontPage.md', 'utf8')); // let doc = yaml.loadAll(fs.readFileSync('./content/frontPage.md', 'utf8'));
// // console.log(doc[0]); // // console.log(doc[0]);
// storeData(doc[0], './out/frontpage.json') // storeData(doc[0], './out/frontpage.json')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment