fuxiaohei / pugov1

pugo static site generator - next version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PuGo

a simple static site generator

Install

go get github.com/fuxiaohei/pugov1

go to source directory, run:

go build main.go

then run the binary file:

./pugov1 version

print current version:

0.1.0

Generate

init default site:

./pugov1 init

build site contents to html pages:

./pugov1 build

it generates all html files in _dest directory.

preview the site:

./pugov1 server

then visit http://localhost:9899/ to display the webpage in browser

full commands usages in wiki-Commands.

Deploy

the files in _dest are a whole site. Put them to http server (such as nginx) directory.

About

pugo static site generator - next version

License:MIT License


Languages

Language:Go 94.8%Language:HTML 4.4%Language:CSS 0.9%