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
|
|
|
|
|
2023-10-23 09:37:29 +00:00
|
|
|
Clone this repo, run follow command, it will generate html and reload page realtime when you modify source code (Implemented with livereload).
|
2023-07-14 14:13:32 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
cp config-example.toml config.toml
|
2023-10-23 09:37:29 +00:00
|
|
|
yarn live
|
2023-07-14 14:13:32 +00:00
|
|
|
```
|