Commit 9c2c4e3c authored by 吕祺's avatar 吕祺 ⛹🏽

frontpage config

parent 7c0ebd90
...@@ -22,6 +22,7 @@ compile_articles: ...@@ -22,6 +22,7 @@ compile_articles:
- npm run export - npm run export
- rm -r /home/gitlab-runner/deploy/cms/ronghui/out - rm -r /home/gitlab-runner/deploy/cms/ronghui/out
- cp -r out /home/gitlab-runner/deploy/cms/ronghui - cp -r out /home/gitlab-runner/deploy/cms/ronghui
- echo "cms https://cmsadmin.gaorongvc.cn/ronghui/admin"
# compress_images: # compress_images:
...@@ -38,7 +39,7 @@ compile_articles: ...@@ -38,7 +39,7 @@ compile_articles:
deploy: deploy:
stage: deploy stage: deploy
when: manual # when: manual
environment: environment:
name: release name: release
only: only:
......
...@@ -81,17 +81,3 @@ collections: ...@@ -81,17 +81,3 @@ collections:
- { label: "content", name: "content", widget: "markdown"} - { label: "content", name: "content", widget: "markdown"}
- { label: "coverpic", name: "coverpic", widget: "image" } - { label: "coverpic", name: "coverpic", widget: "image" }
- { label: "Link", name: "link", widget: "text" } - { label: "Link", name: "link", widget: "text" }
- name: "frontPage"
label: "frontPage"
files:
- label: "frontPage"
name: "frontPage"
file: "content/frontPage.md"
fields:
- { label: "MetaDescription", name: "metaDescription", widget: "text"}
- label: 'articles'
name: "articles"
widget: list
fields:
- { label: "Title", name: "title", widget: "string" }
\ No newline at end of file
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