Refactor everything that's used all over into a common/ package and sync files from static/ into public/ so that public's not in the git.
This commit is contained in:
parent
d12817f4cc
commit
ec7298cce0
36 changed files with 112 additions and 902 deletions
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"log"
|
||||
"flag"
|
||||
"zedshaw.games/webapp/zed"
|
||||
"zedshaw.games/webapp/common"
|
||||
)
|
||||
|
||||
type config struct {
|
||||
|
@ -21,5 +21,5 @@ func main() {
|
|||
|
||||
log.Println("Generating site from pages to public.")
|
||||
|
||||
zed.RenderPages(cfg.source, cfg.target, cfg.layouts)
|
||||
common.RenderPages(cfg.source, cfg.target, cfg.layouts)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue