Commit 863efa1b authored by 吕祺's avatar 吕祺 ⛹🏽

portfolio cms change

parent cc67d178
...@@ -48,6 +48,8 @@ PC端,鼠标悬浮后是一个小手的就可以点击;移动端没有此提 ...@@ -48,6 +48,8 @@ PC端,鼠标悬浮后是一个小手的就可以点击;移动端没有此提
### CMS ### CMS
cms访问需要代码库maintainer及以上权限,通过高榕gitlab认证访问,gitlab oauth认知应用需添加此回调地址 https://cmsadmin.gaorongvc.cn/static/admin/ cms访问需要代码库maintainer及以上权限,通过高榕gitlab认证访问,gitlab oauth认知应用需添加此回调地址 https://cmsadmin.gaorongvc.cn/static/admin/
测试改backend name 为test-repo,先export再用静态服务器运行(不能读取配置数据)
yamllint 语法检测 https://www.yamllint.com/
![cms图片](cms.png) ![cms图片](cms.png)
cms中以EN结尾的为对应中文的英文文案,支持markdown编辑,榕汇文章与动态可同步cms动态发布与更新,文章中图片会自动压缩 cms中以EN结尾的为对应中文的英文文案,支持markdown编辑,榕汇文章与动态可同步cms动态发布与更新,文章中图片会自动压缩
![cms图片2](cms2.png) ![cms图片2](cms2.png)
......
This diff is collapsed.
This diff is collapsed.
...@@ -58,7 +58,7 @@ portfolio: ...@@ -58,7 +58,7 @@ portfolio:
Pinduoduo is able to help them realize more savings and do so in a fun and Pinduoduo is able to help them realize more savings and do so in a fun and
engaging manner. On July 2018, Pinduoduo was listed on the NASDAQ." engaging manner. On July 2018, Pinduoduo was listed on the NASDAQ."
logo2: /static/img/Pingduoduo@2x.png logo2: /static/img/Pingduoduo@2x.png
sinceDate: 2015-06-05T00:00:00.000Z sinceDate:
logo: /static/img/Pingduoduo.png logo: /static/img/Pingduoduo.png
name: 拼多多 name: 拼多多
nameEN: Pinduoduo nameEN: Pinduoduo
...@@ -725,7 +725,7 @@ portfolio: ...@@ -725,7 +725,7 @@ portfolio:
website: opayweb.com website: opayweb.com
description: OPay是一家专注于非洲和其他新兴市场的快速发展中的金融科技公司。在过去三年中,OPay取得了巨大的增长,已成为非洲和中东地区最大的金融科技公司之一,在尼日利亚、埃及和巴基斯坦等主要市场处于领先地位。通过人工智能、大数据和其他金融科技创新,OPay为客户和商户提供线下支付、在线支付、数字钱包和信贷服务。 description: OPay是一家专注于非洲和其他新兴市场的快速发展中的金融科技公司。在过去三年中,OPay取得了巨大的增长,已成为非洲和中东地区最大的金融科技公司之一,在尼日利亚、埃及和巴基斯坦等主要市场处于领先地位。通过人工智能、大数据和其他金融科技创新,OPay为客户和商户提供线下支付、在线支付、数字钱包和信贷服务。
- descriptionEN: Leqee was started providing brands with ecommerce services in - descriptionEN: Leqee was started providing brands with ecommerce services in
2009. The company provides brands creative marketing and design, ecommerce 1. The company provides brands creative marketing and design, ecommerce
operations, professional customer service, efficient logistics and other operations, professional customer service, efficient logistics and other
essential services required for a one stop ecommerce development center. essential services required for a one stop ecommerce development center.
logo2: /static/img/Leqee@2x.png logo2: /static/img/Leqee@2x.png
......
backend: backend:
name: gitlab name: test-repo
branch: master branch: master
repo: lq/official repo: lq/official
auth_type: implicit auth_type: implicit
...@@ -158,14 +158,37 @@ collections: ...@@ -158,14 +158,37 @@ collections:
- { label: "gaorongTimeEN", name: "gaorongTimeEN", widget: "string"} - { label: "gaorongTimeEN", name: "gaorongTimeEN", widget: "string"}
- { label: "day", name: "day", widget: "string"} - { label: "day", name: "day", widget: "string"}
- { label: "dayEN", name: "dayEN", widget: "string"} - { label: "dayEN", name: "dayEN", widget: "string"}
- label: 'portfolio'
name: "portfolio" - name: "portfolioChiPage"
label: 'portfolioChiPage'
files:
- label: "portfolioChi"
name: "portfolioChi"
file: "content/portfolioChi.md"
fields:
- name: "portfolio"
widget: list widget: list
fields: fields:
- { label: "Name", name: "name", widget: "string" } - { label: "Name", name: "name", widget: "string" }
- { label: "NameEN", name: "nameEN", widget: "string" }
- { label: "Since Date", name: "sinceDate", widget: "datetime",required: false } - { label: "Since Date", name: "sinceDate", widget: "datetime",required: false }
- { label: "Description", name: "description", widget: "markdown" } - { label: "Description", name: "description", widget: "markdown" }
- { label: "logo", name: "logo", widget: "image" }
- { label: "logo@2", name: "logo2", widget: "image" }
- { label: "website", name: "website", widget: "string", required: false }
- { label: "type", name: "type", widget: "string" }
- name: "portfolioENPage"
label: 'portfolioENPage'
files:
- label: "portfolioEN"
name: "portfolioEN"
file: "content/portfolioEN.md"
fields:
- name: "portfolio"
widget: list
fields:
- { label: "NameEN", name: "nameEN", widget: "string" }
- { label: "Since Date", name: "sinceDate", widget: "datetime",required: false }
- { label: "DescriptionEN", name: "descriptionEN", widget: "markdown" } - { label: "DescriptionEN", name: "descriptionEN", widget: "markdown" }
- { label: "logo", name: "logo", widget: "image" } - { label: "logo", name: "logo", widget: "image" }
- { label: "logo@2", name: "logo2", widget: "image" } - { label: "logo@2", name: "logo2", widget: "image" }
......
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