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

add hr

parent 3e555a86
---
rollimage1: /static/img/屏幕截图-2021-08-05-143335.png
rollimage2: /static/img/屏幕截图-2021-08-05-143335.png
rollimage3: /static/img/abstract_xinxingji_21-06-07.jpg
hotTitle: 叮咚买菜成功登陆纽交所
hotSubTitle: 本周大事件
hotCover: /static/img/abstract_xinxingji_21-06-07.jpg
hotJumpUrl: ""
shizhan:
- title: "危机下的战略决策 "
subTitle: 危机即战机,是非即成败,分化即进化
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
author: 江南春
authorTitle: 分众传媒董事长
type: 战略
- title: "战略与组织管理 "
subTitle: 一号位的自我修炼和最佳实践
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
author: "陈向东 "
authorTitle: "跟谁学创始人、董事长兼CEO "
type: 战略
- title: 创业中的修行
subTitle: " 提升认知与心性 "
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
author: "昌敬 "
authorTitle: "石头科技创始人、CEO "
type: 战略
industry:
- title: 水滴IPO传播
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
- title: "Nuro C轮融资 "
cover: /static/img/屏幕截图-2021-08-05-143335.png
jumpUrl: ""
- title: "凌迪科技采访 "
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
- title: 数字营销激发生意新可能
cover: /static/img/屏幕截图-2021-08-05-143335.png
visit:
- title: 走进华为
subTitle: 战略、组织与大客户销售
cover: /static/img/abstract_xinxingji_21-06-07.jpg
logo: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
- title: 走进企业微信
subTitle: 私域增长新动能
cover: /static/img/abstract_xinxingji_21-06-07.jpg
logo: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
- title: 走进企业微信
subTitle: 私域增长新动能
cover: /static/img/abstract_xinxingji_21-06-07.jpg
logo: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
camp:
- title: "2020互联网增长营 "
subTitle:
- title: "产品爬坡阶段,增长有哪些重点 "
- title: 理解增长护城河,深入网络效应
- title: 游戏化和裂变机制设计
- title: 用户运营和会员机制设计
cover: /static/img/屏幕截图-2021-08-05-143335.png
- title: "2021To B增长营 "
subTitle:
- title: "模块一:新模式、新增长 "
- title: "模块二:大B销售 "
- title: 模块三:中小B销售
- title: "模块四:客户成功与持续增长 "
cover: /static/img/abstract_xinxingji_21-06-07.jpg
---
---
rollimage1: /static/img/屏幕截图-2021-08-05-143335.png
rollimage2: /static/img/屏幕截图-2021-08-05-143335.png
rollimage3: /static/img/abstract_xinxingji_21-06-07.jpg
hotTitle: 叮咚买菜成功登陆纽交所
hotSubTitle: 本周大事件
hotCover: /static/img/abstract_xinxingji_21-06-07.jpg
hotJumpUrl: ""
shizhan:
- title: "危机下的战略决策 "
subTitle: 危机即战机,是非即成败,分化即进化
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
author: 江南春
authorTitle: 分众传媒董事长
type: 战略
- title: "战略与组织管理 "
subTitle: 一号位的自我修炼和最佳实践
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
author: "陈向东 "
authorTitle: "跟谁学创始人、董事长兼CEO "
type: 战略
- title: 创业中的修行
subTitle: " 提升认知与心性 "
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
author: "昌敬 "
authorTitle: "石头科技创始人、CEO "
type: 战略
industry:
- title: 水滴IPO传播
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
- title: "Nuro C轮融资 "
cover: /static/img/屏幕截图-2021-08-05-143335.png
jumpUrl: ""
- title: "凌迪科技采访 "
cover: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
- title: 数字营销激发生意新可能
cover: /static/img/屏幕截图-2021-08-05-143335.png
visit:
- title: 走进华为
subTitle: 战略、组织与大客户销售
cover: /static/img/abstract_xinxingji_21-06-07.jpg
logo: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
- title: 走进企业微信
subTitle: 私域增长新动能
cover: /static/img/abstract_xinxingji_21-06-07.jpg
logo: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
- title: 走进企业微信
subTitle: 私域增长新动能
cover: /static/img/abstract_xinxingji_21-06-07.jpg
logo: /static/img/abstract_xinxingji_21-06-07.jpg
jumpUrl: ""
camp:
- title: "2020互联网增长营 "
subTitle:
- title: "产品爬坡阶段,增长有哪些重点 "
- title: 理解增长护城河,深入网络效应
- title: 游戏化和裂变机制设计
- title: 用户运营和会员机制设计
cover: /static/img/屏幕截图-2021-08-05-143335.png
- title: "2021To B增长营 "
subTitle:
- title: "模块一:新模式、新增长 "
- title: "模块二:大B销售 "
- title: 模块三:中小B销售
- title: "模块四:客户成功与持续增长 "
cover: /static/img/abstract_xinxingji_21-06-07.jpg
---
......@@ -16,7 +16,7 @@ collections:
files:
- label: "frontPage"
name: "frontPage"
file: "content/frontPage.md"
file: "content/frontpage.md"
fields:
- { label: "RollImage1", name: "rollimage1", widget: "image" }
- { label: "RollImage2", name: "rollimage2", widget: "image", required: false }
......@@ -52,7 +52,7 @@ collections:
files:
- label: "ronghuiPage"
name: "ronghuiPage"
file: "content/ronghuiPage.md"
file: "content/ronghuipage.md"
fields:
- { label: "RollImage1", name: "rollimage1", widget: "image" }
- { label: "RollImage2", name: "rollimage2", widget: "image", required: false }
......@@ -111,7 +111,25 @@ collections:
files:
- label: "hrPage"
name: "hrPage"
file: "content/hrPage.md"
file: "content/hrpage.md"
fields:
- { label: "RollImage1", name: "rollimage1", widget: "image" }
- { label: "RollImage2", name: "rollimage2", widget: "image", required: false }
- { label: "RollImage3", name: "rollimage3", widget: "image", required: false }
- { label: "hotHireImage", name: "hotHireImage", widget: "image"}
- label: "最新推荐入职文章"
name: "article"
widget: list
fields:
- { label: "Title", name: "title", widget: "string" }
- { label: "Cover", name: "cover", widget: "image" }
- { label: "JumpUrl", name: "jumpUrl", widget: "string", required: false }
- name: "prPage"
label: "prPage"
files:
- label: "prPage"
name: "prPage"
file: "content/prpage.md"
fields:
- { label: "RollImage1", name: "rollimage1", widget: "image" }
- { label: "RollImage2", name: "rollimage2", widget: "image", required: false }
......@@ -124,7 +142,6 @@ collections:
- { label: "Title", name: "title", widget: "string" }
- { label: "Cover", name: "cover", widget: "image" }
- { label: "JumpUrl", name: "jumpUrl", widget: "string", required: false }
- name: "article"
label: "article"
......
......@@ -9,13 +9,22 @@ const storeData = (data, path) => {
}
}
try {
let doc = yaml.loadAll(fs.readFileSync('./content/frontPage.md', 'utf8'));
const convert = (page) => {
let doc = yaml.loadAll(fs.readFileSync(`./content/${page}.md`, 'utf8'));
// console.log(doc[0]);
storeData(doc[0], './out/frontpage.json')
storeData(doc[0], `./out/${page}.json`)
}
try {
convert('frontpage')
convert('ronghuipage')
convert('hrpage')
convert('prpage')
// let doc = yaml.loadAll(fs.readFileSync('./content/frontPage.md', 'utf8'));
// // console.log(doc[0]);
// storeData(doc[0], './out/frontpage.json')
doc = yaml.loadAll(fs.readFileSync('./content/ronghuiPage.md', 'utf8'));
storeData(doc[0], './out/ronghuipage.json')
// doc = yaml.loadAll(fs.readFileSync('./content/ronghuiPage.md', 'utf8'));
// storeData(doc[0], './out/ronghuipage.json')
} catch (e) {
console.log(e);
......
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