[SOLVED] The web site does not appear

I am a very beginner in hugo and thus there might be something I did wrong.
I followed the step on the hugo landing page : https://themes.gohugo.io/landing-page-hugo/

git clone https://github.com/crakjie/landing-page-hugo.git
cd landing-page-hugo/exampleSite
hugo server -t landing-page-hugo

but the server tell me that it does not found the landing-page-hugo theme. Thus I make a new themes directory in the exampleSite directory and then the error message vanished.

I get the following output:

           | EN  
  Pages            |  5  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  4  
  Processed images |  0  
  Aliases          |  0  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 20 ms 
Watching for changes in /Users/gvallver/git/landing-page-
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender  
Web Server is available at http://localhost:1313/ (bind address
Press Ctrl+C to stop

But a the give address, there is only a blank page. The code source tells that there is only a pre in the page.

What did I wrong do ?


From what I saw you did everything right but the landing-page-hugo directory is empty in that repo.

I am sorry :sob:
I put everything there and add the theme line in .toml file and now it works …

1 Like