Skip to content

Repository files navigation

if1live.github.io

github pages

if1live.github.io blog content

dependency

  • hugo
  • maya: markdown preprocessor
    • go install github.com/if1live/maya/maya-cli@latest

write maya based markdown

# 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

hugo serve 

note

Create https certificate

mkdir -p output
cd output
openssl genrsa 1024 > key.pem
openssl req -x509 -new -key key.pem > cert.pem
cd ..

Releases

Packages

Used by

Contributors

Languages