Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
qxdo committed Mar 24, 2024
1 parent 9585f42 commit 60f1b44
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 49 deletions.
2 changes: 2 additions & 0 deletions .elog.env
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ UPYUN_HOST=xxx.xx.upaiyun.com
GITHUB_TOKEN=
ELOG_GITHUB_USER=
ELOG_GITHUB_REPO=
ELOG_GITHUB_BRANCH=
ELOG_GITHUB_HOST=
65 changes: 65 additions & 0 deletions elog.cache.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
{
"docs": [
{
"id": "d3c30edc-8fe7-4d59-ba0f-540e634e2853",
"doc_id": "d3c30edc-8fe7-4d59-ba0f-540e634e2853",
"updated": 1711283400000,
"properties": {
"cover": "",
"category": "博客折腾手册",
"tags": [
"notion",
"hexo",
"blog",
"elog"
],
"status": "已发布",
"date": "2024-03-24 00:00:00",
"catalog": [],
"urlname": "d3c30edc-8fe7-4d59-ba0f-540e634e2853",
"title": "测试一下内容更新",
"summary": "",
"updated": "2024-03-24 20:30:00"
},
"realName": "测试一下内容更新",
"relativePath": "/测试一下内容更新.md",
"docPath": "./source/_posts"
},
{
"id": "65df9265-9b4e-49d9-8ec0-cf55d98803cf",
"doc_id": "65df9265-9b4e-49d9-8ec0-cf55d98803cf",
Expand Down Expand Up @@ -27,6 +52,46 @@
}
],
"catalog": [
{
"object": "page",
"id": "d3c30edc-8fe7-4d59-ba0f-540e634e2853",
"created_time": "2024-03-24T12:14:00.000Z",
"last_edited_time": "2024-03-24T12:30:00.000Z",
"created_by": {
"object": "user",
"id": "13ed2e98-54fb-43b5-969f-9e70a3bf2241"
},
"last_edited_by": {
"object": "user",
"id": "13ed2e98-54fb-43b5-969f-9e70a3bf2241"
},
"cover": null,
"icon": null,
"parent": {
"type": "database_id",
"database_id": "affafb2a-3646-40d6-8821-cc2ec86007ad"
},
"archived": false,
"properties": {
"cover": "",
"category": "博客折腾手册",
"tags": [
"notion",
"hexo",
"blog",
"elog"
],
"status": "已发布",
"date": "2024-03-24 00:00:00",
"catalog": [],
"urlname": "d3c30edc-8fe7-4d59-ba0f-540e634e2853",
"title": "测试一下内容更新",
"summary": "",
"updated": "2024-03-24 20:30:00"
},
"url": "https://www.notion.so/d3c30edc8fe74d59ba0f540e634e2853",
"public_url": null
},
{
"object": "page",
"id": "65df9265-9b4e-49d9-8ec0-cf55d98803cf",
Expand Down
6 changes: 3 additions & 3 deletions elog.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ module.exports = {
token: process.env.GITHUB_TOKEN,
user: process.env.ELOG_GITHUB_USER,
repo: process.env.ELOG_GITHUB_REPO,
prefixKey: '',
branch: 'main',
host: 'cdn.jsdelivr.net'
branch: process.env.ELOG_GITHUB_BRANCH,
host: process.env.ELOG_GITHUB_HOST,
prefixKey: ''
}
}
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"server": "hexo server",
"elog:init": "elog init",
"sync:local": "elog sync -e .elog.env",
"sync": "elog sync",
"clean": "elog clean"
"sync": "elog sync"
},
"hexo": {
"version": "7.1.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
title: 博客工具
abbrlink: fc4ece1a
---
# 博客工具

# 博客工具

- 写作平台:Notion
- 博客平台:[Hexo](https://hexo.io/)
Expand Down
39 changes: 0 additions & 39 deletions source/_posts/hello-world.md

This file was deleted.

6 changes: 6 additions & 0 deletions source/_posts/测试一下内容更新.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

### 测试一下


这个事一个测试的文章

0 comments on commit 60f1b44

Please sign in to comment.