fix: better php

This commit is contained in:
NaitLee 2025-09-30 02:43:14 +08:00
parent c8b4ac408e
commit 4c28ae5063
5 changed files with 47 additions and 27 deletions

View file

@ -61,11 +61,13 @@ omnisrv-9p -site src -proto unix -addr /tmp/omnisrv
新頁面放在 `src/page`
PHP 模板在 `tpl/*.php`omnisrv 模板`tmpl.html`。
PHP 模板在 `tpl/*.php`omnisrv 模板`src/tmpl.html`。
一級標題在 `/page` 頁面自動列出。
與 dummy-ssg 不同Markdown 文檔頭部使用簡易鍵值對,而非 JSON:
與 dummy-ssg 標準不同,資源文件放在 `src/assets` 並且直接鏈接 (`<link href="/assets/..." />`),而非放入 `tpl`
同時,倉庫中的 Markdown 文檔頭部使用簡易鍵值對,而非 JSON:
```
---