Skip to content

Commit

Permalink
Merge pull request #860 from adrianhall/issues/856
Browse files Browse the repository at this point in the history
(#856) fix: hugo.toml detection
  • Loading branch information
Timothyw0 committed Jul 1, 2024
2 parents 407464b + 4e90661 commit e0cf620
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/core/frameworks/frameworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ export const appFrameworks: FrameworkDefinition[] = [
},
},
{
id: "hugo",
name: "Hugo",
id: "hugolegacy",
name: "Hugo (Legacy)",
files: ["config.toml", "content"],
contains: {
"config.toml": "baseURL =",
Expand All @@ -334,6 +334,20 @@ export const appFrameworks: FrameworkDefinition[] = [
outputLocation: "public",
},
},
{
id: "hugo",
name: "Hugo",
files: ["hugo.toml", "content"],
contains: {
"hugo.toml": "baseURL =",
},
config: {
appBuildCommand: "hugo -D",
appDevserverCommand: "hugo server -D",
appDevserverUrl: "http://localhost:1313",
outputLocation: "public",
},
},
{
id: "flutter",
name: "Flutter",
Expand Down

0 comments on commit e0cf620

Please sign in to comment.