fix: better php
This commit is contained in:
parent
c8b4ac408e
commit
4c28ae5063
5 changed files with 47 additions and 27 deletions
|
@ -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:
|
||||
|
||||
```
|
||||
---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue