切换为 goja

This commit is contained in:
dragon
2025-11-17 17:33:40 +08:00
parent b20207de4c
commit 7778e95194
29 changed files with 634 additions and 575 deletions

View File

@@ -29,15 +29,13 @@ make gitea-pages
在项目的 `gh-pages` 分支创建 `.pages.yaml`,填入如下内容
```yaml
v-route: true # 虚拟路由
alias: # CNAME
- "example.com"
- "example2.com"
templates: # 渲染器
gotemplate: '**/*.tmpl,**/index.html'
proxy:
/api: https://github.com/api
ignore: .git/**,.pages.yaml
routes:
- path: "**"
js:
exec: index.js
```
## TODO