Used the new sitebuild tool to generate stuff.
This commit is contained in:
parent
49dc8cf330
commit
9961915c8c
15 changed files with 169 additions and 33 deletions
|
@ -1,9 +0,0 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
)
|
||||
|
||||
func main() {
|
||||
log.Println("I DO THING!")
|
||||
}
|
11
tools/cmd/sitebuild/main.go
Normal file
11
tools/cmd/sitebuild/main.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"zedshaw.games/webapp/zed"
|
||||
)
|
||||
|
||||
func main() {
|
||||
log.Println("Generating site from pages to public.")
|
||||
zed.RenderPages("./pages", "./public", "layouts/main")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue