Skip to content

Commit

Permalink
Add new output for successful Hugo site creation
Browse files Browse the repository at this point in the history
Tested with Hugo version: hugo v0.123.3-a75a659f6fc0cb3a52b2b2ba666a81f79a459376 linux/amd64 BuildDate=2024-02-23T17:09:20Z VendorInfo=gohugoio
another message is shown in the cli after successfully creating a new
Hugo site. In order to keep the possible confusion for new users to a
minimal, I have updated the output message.
  • Loading branch information
Sydymar authored and SalocinHB committed Mar 22, 2024
1 parent 5cdd771 commit 7ec2d4d
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions source/guide_hugo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,19 @@ Hugo is now installed on your Uberspace. This means you're ready to create your

[isabell@stardust ~]$ cd ~/hugo_websites
[isabell@stardust hugo_websites]$ hugo new site hugo_web
Congratulations! Your new Hugo site is created in /home/isabell/hugo_websites/hugo_web.

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 <SECTIONNAME>/<FILENAME>.<FORMAT>".
3. Start the built-in live server via "hugo server".

Visit https://gohugo.io/ for quickstart guide and full documentation.
Congratulations! Your new Hugo site was created in /home/isabell/hugo_websites/hugo_web.

Just a few more steps...

1. Change the current directory to /home/isabell/hugo_websites/hugo_web.
2. Create or install a theme:
- Create a new theme with the command "hugo new theme <THEMENAME>"
- Install a theme from https://themes.gohugo.io/
3. Edit hugo.toml, setting the "theme" property to the theme name.
4. Create new content with the command "hugo new content <SECTIONNAME>/<FILENAME>.<FORMAT>".
5. Start the embedded web server with the command "hugo server --buildDrafts".
See documentation at https://gohugo.io/.
[isabell@stardust hugo_websites]$

Add theme
Expand Down

0 comments on commit 7ec2d4d

Please sign in to comment.