]> git.earlybird.gay Git - today/commitdiff
Use correct package name in part.New for include.LocalizedFiles
authorearly <me@earlybird.gay>
Thu, 19 Dec 2024 00:53:07 +0000 (17:53 -0700)
committerearly <me@earlybird.gay>
Thu, 19 Dec 2024 00:53:07 +0000 (17:53 -0700)
web/part/part.go

index 48b11cf189574a911f165132c9497523c18c5f04..06f41057ce3a2ec52f7986f59be5618f956b58cb 100644 (file)
@@ -80,7 +80,7 @@ func New(name string, source string, optional ...Config) *Part {
        p := new(Part)
        // Assign basic parameters
        p.name = name
-       sources, localeMeta, err := include.LocalizedFiles(source, "git.earlybird.gay/today/web/page")
+       sources, localeMeta, err := include.LocalizedFiles(source, "git.earlybird.gay/today/web/part")
        if err != nil {
                p.err = err
                return p