We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我用ssh链接工具链接上了我的云服务器,到docker目录下/var/lib/docker/overlay2/l/62D2TTIEHMO3W4MBJ2NR4XE3QD/app/themes/heo/conflg.js修改过了conflg.js里面的参数没有生效
*docker启动命令 docker run -d -p 3000:3000 --name notionnext-container -e NOTION_PAGE_ID=13dfd37cee2980f892bfdc2f4d145543 ghcr.io/tangly1024/notionnext:main
修改内容如下 // 英雄区显示三个置顶分类 HEO_HERO_CATEGORY_1: { title: '1111', url: '/tag/必看精选' }, HEO_HERO_CATEGORY_2: { title: '2222', url: '/tag/热门文章' }, HEO_HERO_CATEGORY_3: { title: '3333', url: '/tag/实用教程' },
修改后重启命令:docker restart notionnext-container
网站截图:
环境
The text was updated successfully, but these errors were encountered:
修改代码后需要重新打包和编译才能生效,建议 在NOTION_CONFIG中直接修改配置,而非修改代码
Sorry, something went wrong.
修改代码重新分配并编译才能生效后,建议在NOTION_CONFIG中直接修改配置,而不是代码
好的,谢谢大佬!
tangly1024
No branches or pull requests
我用ssh链接工具链接上了我的云服务器,到docker目录下/var/lib/docker/overlay2/l/62D2TTIEHMO3W4MBJ2NR4XE3QD/app/themes/heo/conflg.js修改过了conflg.js里面的参数没有生效
*docker启动命令
docker run -d -p 3000:3000 --name notionnext-container -e NOTION_PAGE_ID=13dfd37cee2980f892bfdc2f4d145543 ghcr.io/tangly1024/notionnext:main
修改内容如下
// 英雄区显示三个置顶分类
HEO_HERO_CATEGORY_1: { title: '1111', url: '/tag/必看精选' },
HEO_HERO_CATEGORY_2: { title: '2222', url: '/tag/热门文章' },
HEO_HERO_CATEGORY_3: { title: '3333', url: '/tag/实用教程' },
修改后重启命令:docker restart notionnext-container
网站截图:
环境
The text was updated successfully, but these errors were encountered: