Move HTML to pages/

This commit is contained in:
ekzyis 2023-09-09 22:52:50 +02:00
parent 23aaa0a438
commit 011b2eff0a
5 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,6 @@ function cleanup() {
trap cleanup EXIT
sync
while inotifywait -r -e modify src/ template/; do
while inotifywait -r -e modify src/ pages/; do
sync
done

View File

@ -45,7 +45,7 @@ func init() {
flag.Parse()
e = echo.New()
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_SHORT_SHA = execCmd("git", "rev-parse", "--short", "HEAD")