Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
C
cmscenter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吕祺
cmscenter
Commits
a7e13c6e
Commit
a7e13c6e
authored
Aug 19, 2021
by
吕祺
⛹🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add shengtai config
parent
638b34f3
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
stpage.md
content/stpage.md
+6
-0
config.yml
static/admin/config.yml
+12
-0
toJSON.js
utils/toJSON.js
+1
-0
No files found.
content/stpage.md
0 → 100644
View file @
a7e13c6e
---
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
---
static/admin/config.yml
View file @
a7e13c6e
...
...
@@ -157,6 +157,18 @@ collections:
-
{
label
:
"
Cover"
,
name
:
"
cover"
,
widget
:
"
image"
}
-
{
label
:
"
Avatar"
,
name
:
"
logo"
,
widget
:
"
image"
}
-
{
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"
label
:
"
article"
...
...
utils/toJSON.js
View file @
a7e13c6e
...
...
@@ -19,6 +19,7 @@ try {
convert
(
'ronghuipage'
)
convert
(
'hrpage'
)
convert
(
'prpage'
)
convert
(
'stpage'
)
// let doc = yaml.loadAll(fs.readFileSync('./content/frontPage.md', 'utf8'));
// // console.log(doc[0]);
// storeData(doc[0], './out/frontpage.json')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment