bio/README.md

29 lines
749 B
Markdown
Raw Normal View History

2023-07-14 14:00:08 +00:00
# bio
My personal bio page
## Feature
* Generate html from information defined in `config.toml`.
* Support to hide sensitive information and load by Javascript.
* Material design like.
* Generate single html file.
## Build
Clone this repo, run follow command, and generated html will locationed at `dist/index.html`.
```
yarn # install dependencies
yarn r --generate --config config-example.toml
```
2023-07-14 14:13:32 +00:00
## Develop
Clone this repo, run follow command, it will generate html and reload page realtime when you modify source code. Note this is implemented simply by polling a http path every second, so it will create a lot log under "Network" tag of browser's developer tools.
```
cp config-example.toml config.toml
yarn watch
```