- The markdown data file used to define the page is placed under
file/
; - In the data file,
# CONFIG
is the configuration content, and the other heading 1 is the page content; file/config.md
is the default configuration file;file/default.md
is the default page file;file/xxx.md
is other page file;- The content in the data file has higher priority than the configuration file;
## name
website name
## title
page title
Title priority from low to high:
# CONFIG ## title
inConfig.md
;# {title}
of the page content infile/xxx.md
;# CONFIG ## title
of the configuration content infile/xxx.md
;
## icon
`image/f.ico`
## keywords
markdown website md web site
## mode
ucp
Optional items:
ucp
text
默认;
## header
### logo
![logo](image/logo.png)
### nav
- [all](index.php)
- [ucp](index.php?f=ucp)
- [text](index.php?f=text)
## ending
### left-1
**demo**
- [ucp](index.php?f=ucp)
- [text](index.php?f=text)
### left-2
**config**
- [config](index.php?f=config)
### left-3
**config detail**
- [header](index.php?f=header)
- [footer](index.php?f=footer)
- [ending](index.php?f=ending)
### left-4
**ucp detail**
- [page](index.php?f=page)
- [unit](index.php?f=unit)
- [card](index.php?f=card)
- [pop](index.php?f=pop)
### right
Build a website by markdown files
## footer
---
Copyright © 2021 [forw.cc](http://forw.cc)
All rights reserved
?f={filename}
?f={dir}/{filename}
Render in unit/card/pop (ucp) mode:
Markdown | Web |
---|---|
h1 | html head title |
h1 content | page description |
h2 | unit |
h2 content | unit description |
h3 | card |
h3 content | card description |
h4 | pop |
h4 content | pop description |