Skip to content

Commit

Permalink
chore: remove submodules, treat theme as a part of code
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb committed Mar 24, 2024
1 parent c14508b commit 163d514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp2hugo/internal/hugogenerator/hugo_gen_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func (g Generator) setupHugo(outputDirPath string) (*string, error) {
// Use YMAL file as it is easier to edit it afterwards than TOML
fmt.Sprintf("hugo new site %s --format yaml", siteName),
"cd " + siteName,
"git init",
"git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1",
`rm -rf themes/PaperMod/.git themes/PaperMod/.github`,
`echo "theme: 'PaperMod'">> hugo.yaml`,
// Verify that the site is setup correctly
"hugo",
Expand Down

0 comments on commit 163d514

Please sign in to comment.