I think your problem is that that repo isn’t really a theme but a full project, so you can’t install it like a theme. You could fork or download that repo and then delete all the content you don’t want, or pick a different theme that’s configured to be a theme. I’m partial to the XMin theme.
hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/ronv/minimalist.git themes/minimalist
echo "theme = 'minimalist'" >> config.toml
mv themes/minimalist/content/ .
hugo server
When you visit http://localhost:1313/ you will see:
You’re right more or less. But I think a theme is just layouts and the bare minimum config and static files, and without content or data. As a user I should be able to update a theme to the latest by updating the Hugo mod or the git submodule and not have to deal with any content that I’ve moved or deleted earlier.
Might as well fork that repo or download and create a new repo, but then it’s not really a theme, it’s a whole new project.
Built in 202 ms
Watching for changes in /home/xxx/sites/minimalist-main/{archetypes,assets,content,layouts,static,themes}
Watching for config changes in /home/xxxx/sites/minimalist-main/config.yaml
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/blog/ (bind address 127.0.0.1)
Press Ctrl+C to stop
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.