echoes/frontend/themes/default/theme.config.ts
lsy 5ca72e42cf 前端:创建api,主题,路由服务,重新定义主题插件的约束,错误,加载组件
后端:去除文章和模板的自义定路径,创建获取系统令牌api
2024-11-18 01:09:28 +08:00

24 lines
569 B
TypeScript

import { ThemeConfig } from "contracts/themeContract";
export const themeConfig: ThemeConfig = {
name: 'default',
displayName: '默认主题',
version: '1.0.0',
description: '一个简约风格的博客主题',
author: 'lsy',
entry: './index.tsx',
templates: new Map([
['page', {
path: './templates/page',
name: '文章列表模板',
description: '博客首页展示模板'
}],
]),
routes: {
post: "",
tag: "",
category: "",
page: ""
}
}