diff options
author | Anthony Fok <[email protected]> | 2018-06-11 01:38:50 -0600 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-06-11 10:40:22 +0200 |
commit | d3dd74fd655c22f21e91e38edb1d377a1357e3be (patch) | |
tree | 13cd6ae29d36520207aecc889a3e603fcaaafc74 /commands/new.go | |
parent | 80230f26a3020ff33bac2bef01b2c0e314b89f86 (diff) | |
download | hugo-d3dd74fd655c22f21e91e38edb1d377a1357e3be.tar.gz hugo-d3dd74fd655c22f21e91e38edb1d377a1357e3be.zip |
commands: Move nextStepsText() to new_site.go
Diffstat (limited to 'commands/new.go')
-rw-r--r-- | commands/new.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/commands/new.go b/commands/new.go index 27d079b0d..e70658511 100644 --- a/commands/new.go +++ b/commands/new.go @@ -126,27 +126,6 @@ func (n *newCmd) newContent(cmd *cobra.Command, args []string) error { return create.NewContent(ps, siteFactory, kind, createPath) } -func nextStepsText() string { - var nextStepsText bytes.Buffer - - nextStepsText.WriteString(`Just a few more steps and you're ready to go: - -1. Download a theme into the same-named folder. - Choose a theme from https://themes.gohugo.io/, or - create your own with the "hugo new theme <THEMENAME>" command. -2. Perhaps you want to add some content. You can add single files - with "hugo new `) - - nextStepsText.WriteString(filepath.Join("<SECTIONNAME>", "<FILENAME>.<FORMAT>")) - - nextStepsText.WriteString(`". -3. Start the built-in live server via "hugo server". - -Visit https://gohugo.io/ for quickstart guide and full documentation.`) - - return nextStepsText.String() -} - func mkdir(x ...string) { p := filepath.Join(x...) |