Skip to content

Commit

Permalink
fix resource publish path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwei committed Jan 11, 2025
1 parent 7e73f95 commit b8bde3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/domain/site/entity/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (p *Page) renderResources() error {
prefix = p.Site.currentLanguage
}

targetFilenames = append(targetFilenames, path.Join(prefix, o.TargetSubResourceDir(), rs.TargetPath()))
targetFilenames = append(targetFilenames, path.Join(prefix, rs.TargetPath()))
}

if err := func() error {
Expand Down
2 changes: 1 addition & 1 deletion internal/interfaces/cli/vercurr.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package cli
var CurrentVersion = Version{
Major: 0,
Minor: 1,
PatchLevel: 6,
PatchLevel: 7,
Suffix: "",
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.6",
"version": "0.1.7",
"name": "Hugoverse",
"description": "Headless CMS for Hugo",
"author": "sunwei",
Expand Down

0 comments on commit b8bde3f

Please sign in to comment.