Move HTML to pages/
This commit is contained in:
parent
23aaa0a438
commit
011b2eff0a
|
@ -24,6 +24,6 @@ function cleanup() {
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
sync
|
sync
|
||||||
while inotifywait -r -e modify src/ template/; do
|
while inotifywait -r -e modify src/ pages/; do
|
||||||
sync
|
sync
|
||||||
done
|
done
|
||||||
|
|
|
@ -45,7 +45,7 @@ func init() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
e = echo.New()
|
e = echo.New()
|
||||||
t = &Template{
|
t = &Template{
|
||||||
templates: template.Must(template.ParseGlob("template/**.html")),
|
templates: template.Must(template.ParseGlob("pages/**.html")),
|
||||||
}
|
}
|
||||||
COMMIT_LONG_SHA = execCmd("git", "rev-parse", "HEAD")
|
COMMIT_LONG_SHA = execCmd("git", "rev-parse", "HEAD")
|
||||||
COMMIT_SHORT_SHA = execCmd("git", "rev-parse", "--short", "HEAD")
|
COMMIT_SHORT_SHA = execCmd("git", "rev-parse", "--short", "HEAD")
|
||||||
|
|
Loading…
Reference in New Issue