https://github.com/if1live/if1live.github.io
https://if1live.github.io/ blog content
https://github.com/if1live/if1live.github.io
Last synced: 10 days ago
JSON representation
https://if1live.github.io/ blog content
- Host: GitHub
- URL: https://github.com/if1live/if1live.github.io
- Owner: if1live
- Created: 2013-08-31T12:43:59.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T12:09:22.000Z (about 2 years ago)
- Last Synced: 2025-08-13T18:51:53.364Z (5 months ago)
- Language: Jupyter Notebook
- Homepage: https://if1live.github.io/
- Size: 40.6 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# if1live.github.io
[](https://github.com/if1live/if1live.github.io/actions/workflows/blog.yml)
[if1live.github.io](https://if1live.github.io) blog content
## dependency
* [hugo](https://gohugo.io/getting-started/installing/)
* [maya](https://github.com/if1live/maya): markdown preprocessor
* `go install github.com/if1live/maya/maya-cli@latest`
## write maya based markdown
```bash
# build single maya markdown
cd content/posts/sample/maya-test/maya
# by bash
maya-cli -mode=hugo -file=document.mkdn -output=../index.md
# by powrshell
maya-cli -mode=hugo -file="document.mkdn" -output="../index.md"
```
or write plain markdown.
## build
```sh
hugo serve
```
## note
### Create https certificate
``` bash
mkdir -p output
cd output
openssl genrsa 1024 > key.pem
openssl req -x509 -new -key key.pem > cert.pem
cd ..
```
* http://blog.saltfactory.net/node/implements-nodejs-based-https-server.html