Closed realdeadbeef closed 6 months ago
Could you try with a newer Hugo version? I am not sure if this solves this particular problem, but the theme requires Hugo >= 0.121.
Hey man! You have to build the html source code (which will be in the public
directory) with the simple hugo
command.
I have tried copying the exampleSite, that doesn't work.
My steps are:
* `hugo new site tomtakesphotos.com` * `cd tomtakesphotos.com` * `git init` * `git submodule add --depth=1 https://github.com/nicokaiser/hugo-theme-gallery.git themes/gallery` * Add the line `theme = 'gallery` to `hugo.toml` * `hugo server`
Start building sites … hugo v0.111.3+extended linux/amd64 BuildDate=2023-03-16T08:41:31Z VendorInfo=debian:0.111.3-1 WARN 2024/05/25 09:56:27 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination. WARN 2024/05/25 09:56:27 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination. WARN 2024/05/25 09:56:27 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination. | EN -------------------+----- Pages | 3 Paginator pages | 0 Non-page files | 0 Static files | 0 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Built in 4 ms Watching for changes in /home/tom/Documents/tomtakesphotos.com/{archetypes,assets,content,data,layouts,static} Watching for config changes in /home/tom/Documents/tomtakesphotos.com/config.toml, /home/tom/Documents/tomtakesphotos.com/go.mod Environment: "development" 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 127.0.0.1) Press Ctrl+C to stop
Creates:
Can I reopen this, I've tried again, it still doesn't work, I'm on the latest version of hugo.
I have tried copying the exampleSite, that doesn't work.
My steps are:
hugo new site tomtakesphotos.com
cd tomtakesphotos.com
git init
git submodule add --depth=1 https://github.com/nicokaiser/hugo-theme-gallery.git themes/gallery
theme = 'gallery
tohugo.toml
hugo server
Creates: