From d25450ad9dc55af2a6262dae9246d406d512541f Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Wed, 17 Jan 2024 16:39:29 +0800 Subject: [PATCH] =?UTF-8?q?Chore:=20=E5=A2=9E=E5=8A=A0=20frontmatter=20?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE=E5=88=B0=20GIt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .frontmatter/database/mediaDb.json | 1 + .frontmatter/database/pinnedItemsDb.json | 1 + .frontmatter/database/taxonomyDb.json | 1 + .gitignore | 4 + .../draggable-dashboard/dashboard-summary.md | 2 +- frontmatter.json | 106 ++++++++++++++++++ 6 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 .frontmatter/database/mediaDb.json create mode 100644 .frontmatter/database/pinnedItemsDb.json create mode 100644 .frontmatter/database/taxonomyDb.json create mode 100644 frontmatter.json diff --git a/.frontmatter/database/mediaDb.json b/.frontmatter/database/mediaDb.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.frontmatter/database/mediaDb.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.frontmatter/database/pinnedItemsDb.json b/.frontmatter/database/pinnedItemsDb.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.frontmatter/database/pinnedItemsDb.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.frontmatter/database/taxonomyDb.json b/.frontmatter/database/taxonomyDb.json new file mode 100644 index 0000000..8863ca1 --- /dev/null +++ b/.frontmatter/database/taxonomyDb.json @@ -0,0 +1 @@ +{"taxonomy":{"tags":["2018 湘潭邀请赛","ACM","ADB","AWS","Android","AutoCorrect","BFS","Beego","Browser","C","C++","CDN","CSS","Codeforces","Collator","Comparator","CosAlbum","Cron","DFS","ES6","English","FixIt","GTD","GUI","Git","GitHub Actions","Go","HDU","HTML","HTTP","Hexo","Homebrew","Hugo","I18n","ImgURL","JSON","Java","JavaScript","Laravel","Layui","Less","Lightbox","Mac","Markdown","MySQL","NetBeans","Node.js","Nowcoder","OS","PHP","POJ","Python","REST","SSH","SSL","STL","Sass","Scss","SemVer","Shortcodes","StringBuffer","Sublime","ThinkPHP","TypeScript","URLConnection","Vue2","Vue3","WAMP","async","bat","caddy","codereview","dashboard","debug","defer","eager","eclipse","electron","eslint","euler","fusion","husky","hustoj","imageio","jieba","lazy","leancloud","linux","loading","lua","markdownlint","newline","nginx","ngrok","npm","npx","numpy","nvm","pangu.js","pillow","pyecharts","pyinstaller","redirect","regex","server","shell","sort","svg","tailwindcss","termux","turtle","ubuntu","vim","watermark","widget","windows","wxpy","云盘","他山之石","位运算","加密","在线离线算法","大数运算","字体压缩","字数统计","宝塔面板","对象存储","并查集","快速幂","总结","拖拽式仪表盘","搜索","数学","数论","最短路","杨辉三角","欧几里得","水仙花数","沐目体","泛型","流水线","磁盘","组合数学","网站备案","背包问题","脚手架","腾讯云 cos 桶","计算机数据","计算机组成与体系结构","贪心","随笔","需求分析","面向对象","面试","黑盒测试"],"categories":["ACM","Browser","CSS","Git","Go","Grocery","HTML","Java","JavaScript","Memo","MySQL","Node.js","OS","PHP","Python","Spec","Vue.js","draft","project","thoughts","瞎折腾","翻译","计算机网络"],"collections":["AWS","拖拽式仪表盘系列"]}} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 4bba9f7..8c3496d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,7 @@ resources/ .hugo_build.lock jsconfig.json + +# backup for frontmatter in vscode +!frontmatter.json +!.frontmatter \ No newline at end of file diff --git a/content/posts/draggable-dashboard/dashboard-summary.md b/content/posts/draggable-dashboard/dashboard-summary.md index b79f645..1e4b513 100644 --- a/content/posts/draggable-dashboard/dashboard-summary.md +++ b/content/posts/draggable-dashboard/dashboard-summary.md @@ -5,7 +5,7 @@ collections: - 拖拽式仪表盘系列 categories: - Vue.js -tags: +tags: - 拖拽式仪表盘 - dashboard - widget diff --git a/frontmatter.json b/frontmatter.json new file mode 100644 index 0000000..972d90c --- /dev/null +++ b/frontmatter.json @@ -0,0 +1,106 @@ +{ + "$schema": "https://frontmatter.codes/frontmatter.schema.json", + "frontMatter.panel.actions.disabled": [ + "optimizeSlug" + ], + "frontMatter.dashboard.content.pagination": 50, + "frontMatter.content.autoUpdateDate": false, + "frontMatter.taxonomy.dateFormat": "YYYY-MM-DD'T'HH:mm:ss+08:00", + "frontMatter.taxonomy.customTaxonomy": [ + { + "id": "collections", + "options": [ + "AWS", + "拖拽式仪表盘系列" + ] + } + ], + "frontMatter.taxonomy.contentTypes": [ + { + "name": "default", + "pageBundle": false, + "previewPath": null, + // https://frontmatter.codes/docs/content-creation/fields + "fields": [ + { + "title": "Title", + "name": "title", + "type": "string" + }, + { + "title": "Description", + "name": "description", + "type": "string" + }, + { + "title": "Publishing date", + "name": "date", + "type": "datetime", + "default": "{{now}}", + "isPublishDate": true + }, + { + "title": "Last Modified", + "name": "lastmod", + "type": "datetime", + "default": "{{now}}", + "isModifiedDate": true + }, + { + "title": "Slug", + "name": "slug", + "type": "string" + }, + { + "title": "Is in draft", + "name": "draft", + "type": "draft" + }, + { + "title": "Categories", + "name": "categories", + "type": "categories" + }, + { + "title": "Tags", + "name": "tags", + "type": "tags" + }, + { + "title": "Collections", + "name": "collections", + "type": "taxonomy", + "taxonomyId": "collections" + }, + { + "title": "Comment", + "name": "comment", + "type": "boolean" + }, + { + "title": "Lightgallery", + "name": "lightgallery", + "type": "boolean" + } + ] + } + ], + "frontMatter.framework.id": "hugo", + "frontMatter.content.publicFolder": "static", + "frontMatter.preview.host": "http://localhost:1313", + "frontMatter.content.pageFolders": [ + { + "title": "projects", + "path": "[[workspace]]/content/projects" + }, + { + "path": "[[workspace]]/content/posts/", + "title": "posts" + }, + { + "title": "years", + "path": "[[workspace]]/content/private/years" + } + ], + "frontMatter.framework.startCommand": "hugo server -D --disableFastRender --navigateToChanged --bind 0.0.0.0" +} \ No newline at end of file