aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/unsorted/resources.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-06 09:33:11 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-06 09:34:06 +0800
commitc9b4eee4c589b8b40c02d0c96f887ec991580a24 (patch)
tree0ab3f2a22e9c4ca430573559d5712a4a7a6903a3 /forged/internal/unsorted/resources.go
parentMove the Go stuff to ./forged/ (diff)
downloadforge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.tar.gz
forge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.tar.zst
forge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.zip
Restructure static/templates into forged
Diffstat (limited to 'forged/internal/unsorted/resources.go')
-rw-r--r--forged/internal/unsorted/resources.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/forged/internal/unsorted/resources.go b/forged/internal/unsorted/resources.go
index 9f3a5d0..692b454 100644
--- a/forged/internal/unsorted/resources.go
+++ b/forged/internal/unsorted/resources.go
@@ -30,7 +30,7 @@ func (s *Server) loadTemplates() (err error) {
"minus": misc.Minus,
})
- err = fs.WalkDir(embed.Resources, "templates", func(path string, d fs.DirEntry, err error) error {
+ err = fs.WalkDir(embed.Resources, "forged/templates", func(path string, d fs.DirEntry, err error) error {
if err != nil {
return err
}