As I was following the tutorial prepared by Giraffe Academy on Youtube, I am stuck in the stage of creating the first web page directory using the comman C:\Hugo>hugo new site example. The message says “Congratulations! Your new Hugo site is created in C:\Hugo\example” but I cannot see any folders in that directory named as ‘example’.
I have here 0.32.4 and it worked. This is what I see:
C:\Hugo>hugo new site example
Congratulations! Your new Hugo site is created in C:\Hugo\example.
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.
C:\Hugo>dir
Volume in drive C has no label.
Volume Serial Number is 260A-0852
Directory of C:\Hugo
23/01/2018 18:16 <DIR> .
23/01/2018 18:16 <DIR> ..
23/01/2018 18:16 <DIR> example
0 File(s) 0 bytes
3 Dir(s) 50.482.872.320 bytes free
Hi Rick
The command you mentioned does nothing. I simply created a folder in C directory named ‘Hugo’ and extracted the files into the folder which is called ‘bin’ and located inside ‘Hugo’ folder. Then I did the necessary changes in windows to run the Hugo in CMD.
@sjardim I tried 0.32.4 version and nothing has changed. Also, if i try to create a site named as previous one (in this case - example) I get the message saying that - this folder already exists -.
I cannot reach the site folder (example) using cd example command, too.
What am I missing here? Shouldn’t I be able to see the site folders using windows file explorer? Do I need a special kind of file explorer?
Or I had better give up on Hugo?
Note: Currently I am checking whether there is an issue between the hugo and antivirus program (Comodo).
Thanks
Okay, it was an issue with the Comodo Antivirus 10. I have noticed that Comodo blocked the hugo.exe without letting me know. Unblocking it from the list in Comodo solved the problem.